Skip to content

Commit ab5d3b7

Browse files
authored
Merge pull request #483 from drduh/wip-10apr25
include debian signing key, simplify iso commands
2 parents c341c08 + d659595 commit ab5d3b7

File tree

2 files changed

+697
-6
lines changed

2 files changed

+697
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,28 +87,32 @@ The following is a general ranking of environments least to most hospitable to g
8787

8888
Debian Live is used in this guide to balance usability and security, with some additional instructions for OpenBSD.
8989

90-
Download the latest image and signature files:
90+
Download the latest Debian Live image and signature files:
9191

9292
```console
93-
curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA512SUMS"
93+
export IMAGE_URL="https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/"
9494

95-
curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA512SUMS.sign"
95+
curl -fLO "$IMAGE_URL/SHA512SUMS" -O "$IMAGE_URL/SHA512SUMS.sign"
9696

97-
curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/$(awk '/xfce.iso$/ {print $2}' SHA512SUMS)"
97+
curl -fLO "$IMAGE_URL/$(awk '/xfce.iso$/ {print $2}' SHA512SUMS)"
9898
```
9999

100100
Download the Debian signing public key:
101101

102102
```console
103-
gpg --keyserver hkps://keyring.debian.org --recv DF9B9C49EAA9298432589D76DA87E80D6294BE9B
103+
gpg --keyserver hkps://keyring.debian.org \
104+
--recv DF9B9C49EAA9298432589D76DA87E80D6294BE9B
104105
```
105106

106107
If the public key cannot be received, use a different keyserver or DNS server:
107108

108109
```console
109-
gpg --keyserver hkps://keyserver.ubuntu.com:443 --recv DF9B9C49EAA9298432589D76DA87E80D6294BE9B
110+
gpg --keyserver hkps://keyserver.ubuntu.com:443 \
111+
--recv DF9B9C49EAA9298432589D76DA87E80D6294BE9B
110112
```
111113

114+
The Debian Live signing public key is also available in [`pubkeys`](https://github.com/drduh/YubiKey-Guide/tree/master/pubkeys).
115+
112116
Verify the signature:
113117

114118
```console

0 commit comments

Comments
 (0)