aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authordrduh <github@duh.to>2020-11-21 10:45:40 -0800
committerGitHub <noreply@github.com>2020-11-21 10:45:40 -0800
commitf2aeed1b55e9d0e4b6e59f946e171c3a8fdc2e7c (patch)
tree6d990456549d5d97a2e210e46adc6b7c855a650c /README.md
parentMerge pull request #219 from captn3m0/patch-1 (diff)
parentUpdate verification of Debian ISO to not hardcode the version. (diff)
downloadYubiKey-Guide-f2aeed1b55e9d0e4b6e59f946e171c3a8fdc2e7c.tar.gz
Merge pull request #214 from anmull/debian-iso-version
Changes command to download Debian ISO to use the value in the SHA512SUMS file
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index bf89932..446cb76 100644
--- a/README.md
+++ b/README.md
@@ -101,11 +101,11 @@ This guide recommends using a bootable "live" Debian Linux image to provide such
To use Debian Live, download the latest image:
```console
-$ curl -LfO https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-10.4.0-amd64-xfce.iso
-
$ curl -LfO https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA512SUMS
$ curl -LfO https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA512SUMS.sign
+
+$ curl -LfO https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/$(awk '/xfce.iso/ {print $2}' SHA512SUMS)
```
Verify the signature of the hashes file with GPG:
@@ -139,8 +139,8 @@ $ gpg --keyserver hkps://keyserver.ubuntu.com:443 --recv DF9B9C49EAA9298432589D7
Ensure the SHA512 hash of the live image matches the one in the signed file.
```console
-$ grep $(sha512sum debian-live-10.4.0-amd64-xfce.iso) SHA512SUMS
-SHA512SUMS:2920f398c5e9036fcec8f71b2f28b0f2a85e3ab805e66088192dc56f679e5f59f26634e8bbde70badc3cf7ce353f54a2757b2017cbc3d3df9fb2b2065b3c1041 debian-live-10.4.0-amd64-xfce.iso
+$ grep $(sha512sum debian-live-*-amd64-xfce.iso) SHA512SUMS
+SHA512SUMS:799ec1fdb098caa7b60b71ed1fdb1f6390a1c6717b4314265e7042fa271c84f67fff0d0380297f60c4bcd0c1001e08623ab3d2a2ad64079d83d1795c40eb7a0a debian-live-10.5.0-amd64-xfce.iso
```
See [Verifying authenticity of Debian CDs](https://www.debian.org/CD/verify) for more information.