You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2020/10/16 03:08:18 UTC

[incubator-teaclave-website] 07/07: Fix download link and verification instruction

This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-website.git

commit ac8253a618180e6fab24e469276557820484db98
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Thu Oct 15 20:07:54 2020 -0700

    Fix download link and verification instruction
---
 site/.vuepress/theme/components/Page.vue |  2 ++
 site/download.md                         | 34 +++++++++++++++++---------------
 2 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/site/.vuepress/theme/components/Page.vue b/site/.vuepress/theme/components/Page.vue
index 39a1e14..a25463a 100644
--- a/site/.vuepress/theme/components/Page.vue
+++ b/site/.vuepress/theme/components/Page.vue
@@ -46,6 +46,8 @@ export default {
     margin: 2.5rem auto 0 auto
     font-size 0.7rem
     padding 2.5rem 0 2.5rem 0
+    @media (max-width: $MQMobileNarrow)
+      padding 1.5rem
     border-top 1px solid $borderColor
     text-align left
     color lighten($textColor, 25%)
diff --git a/site/download.md b/site/download.md
index de83872..5ff17eb 100644
--- a/site/download.md
+++ b/site/download.md
@@ -8,52 +8,54 @@ These source archives are generated from tagged releases.
 
 | Version | Release Date | Source Code               | PGP  | SHA     |
 |---------|--------------|---------------------------|------|---------|
-| 0.1.0   | 2020-10-09   | [apache-teaclave-0.1.0-incubating.tar.gz](https://downloads.apache.org/incubator/teaclave/0.1.0/apache-teaclave-0.1.0-incubating.tar.gz) | [.asc](https://downloads.apache.org/incubator/teaclave/0.1.0/apache-teaclave-0.1.0-incubating.tar.gz.asc) | [.sha512](https://downloads.apache.org/incubator/teaclave/0.1.0/apache-teaclave-0.1.0-incubating.tar.gz.sha512) |
+| 0.1.0   | 2020-10-09   | [apache-teaclave-0.1.0-incubating.tar.gz](https://www.apache.org/dyn/closer.cgi/incubator/teaclave/0.1.0/apache-teaclave-0.1.0-incubating.tar.gz) | [.asc](https://www.apache.org/dist/incubator/teaclave/0.1.0/apache-teaclave-0.1.0-incubating.tar.gz.asc) | [.sha512](https://www.apache.org/dist/incubator/teaclave/0.1.0/apache-teaclave-0.1.0-incubating.tar.gz.sha512) |
 
-## Verify Releases
+## Verify the Integrity of the Files
 
 ::: tip NOTE
 It is essential that you verify the integrity of the downloaded file using the
-PGP signature (`.asc` file) or a hash (`.sha512` file). Please read
-[Verifying Apache Software Foundation Releases](https://www.apache.org/info/verification.html) for more information on why you should
-verify our releases.
+PGP signature (`.asc` file) or a hash (`.md5` or `.sha*` file). Please read
+[Verifying Apache Software Foundation Releases](https://www.apache.org/info/verification.html)
+for more information on why you should verify our releases.
 :::
 
 The PGP signature can be verified using PGP or GPG. First download the
-[KEYS](https://downloads.apache.org/incubator/teaclave/KEYS) as
-well as the .asc signature file for the relevant distribution. Make sure you get
+[KEYS](https://www.apache.org/dist/incubator/teaclave/KEYS) as
+well as the asc signature file for the relevant distribution. Make sure you get
 these files from the main distribution site, rather than from a mirror. Then
-verify the signatures using one of the following alternatives:
+verify the signatures using
 
 ```
 $ gpg --import KEYS
 $ gpg --verify downloaded_file.asc downloaded_file
 ```
-
+or
 ```
 $ pgpk -a KEYS
 $ pgpv downloaded_file.asc
 ```
-
+or
 ```
 $ pgp -ka KEYS
 $ pgp downloaded_file.asc
 ```
-
-You can also verify the hash on the file.
+Alternatively, you can verify the hash on the file.
 
 Hashes can be calculated using GPG:
 
 ```
-$ gpg --print-md SHA512 downloaded_file
+$ gpg --print-md SHA256 downloaded_file
 ```
 
-The output should be compared with the contents of the `.sha512` file.
+The output should be compared with the contents of the SHA256 file. Similarly
+for other hashes (SHA512, SHA1, MD5 etc) which may be provided.
 
-Windows 7 and later systems should all now have certUtil:
+Windows 7 and later systems should all now have `certUtil`:
 
 ```
 $ certUtil -hashfile pathToFileToCheck
 ```
 
-Unix-like systems (and macOS) will have a utility called `shasum`.
+HashAlgorithm choices: MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512
+
+Unix-like systems (and macOS) will have a utility called `md5`, `md5sum` or `shasum`


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org