File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
3531gpg2 --import << EOF
3632-----BEGIN PGP PUBLIC KEY BLOCK-----
3733
You can’t perform that action at this time.
0 commit comments