Skip to content

Commit fe0cf3c

Browse files
Small simplification
1 parent 892a7c3 commit fe0cf3c

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

tools/fetch-and-verify-go.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,13 @@ export GNUPGHOME="$(mktemp -d)"
2121
# "old block vs new block" is only a subkey update:
2222
# 1) Make an isolated keyring: `export GNUPGHOME="$(mktemp -d)"`.
2323
# 2) Save this embedded key block into a file named `old`
24-
# 3) Import the old key: `gpg --import old`
25-
# Then run `gpg --show-keys --with-fingerprint old` and capture the
26-
# fingerprint under `pub` as `<old-rsa-primary-fingerprint>`.
24+
# 3) Run `gpg --show-keys --with-fingerprint old` and note the
25+
# fingerprint under `pub`.
2726
# 4) `curl -fsSL https://dl.google.com/linux/linux_signing_key.pub -o new`,
2827
# then `gpg --show-keys --with-fingerprint --with-subkey-fingerprint new`.
29-
# Confirm the same `pub` fingerprint and capture the newest `sub`
30-
# fingerprint.
28+
# Confirm the same `pub` fingerprint.
3129
# 5) `gpg --import new` and expect `new subkeys: 1` (and usually
3230
# `new signatures: 1`).
33-
# 6) `gpg --list-keys --with-subkey-fingerprint "<old-rsa-primary-fingerprint>"`
34-
# and confirm the newest subkey from step 4 appears.
3531
gpg2 --import <<EOF
3632
-----BEGIN PGP PUBLIC KEY BLOCK-----
3733

0 commit comments

Comments
 (0)