Skip to content

Commit 3ead0a2

Browse files
committed
feat: add gpg-only-active-keys/ keyring
1 parent 5f720ce commit 3ead0a2

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Backup files, redundant with git history
2-
/gpg/*~
2+
/gpg*/*~
3+
/gpg*/S.*
34

45
# TOFU trust database (unused; see https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration-Options.html)
5-
/gpg/tofu.db
6+
/gpg*/tofu.db

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,15 @@ Other keys used to sign some previous releases:
6161

6262
## Verifying Release Packages
6363

64-
This repo contains the raw release signing keys in two forms:
64+
This repo contains the raw release signing keys in three forms:
6565

66-
1. The **keys/** directory contains the raw ASCII-armored release signing keys listed above.
66+
- The **keys/** directory contains the raw ASCII-armored release signing keys listed above.
6767

68-
2. The **gpg/** directory contains a GPG keyring preloaded with these release signing keys.
68+
- The **gpg/** directory contains a GPG keyring preloaded with these release signing keys.
69+
70+
- The **gpg-only-active-keys/** directory contains a GPG keyring preloaded with
71+
the active release signing keys. Use this if you only need to verify
72+
signatures of "future" releases.
6973

7074
For additional verification of both the keys' content *and* of the list of authorized signing
7175
keys, you may cross-reference the list with [nodejs.org](https://nodejs.org) and attempt to

cli.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ nodejs_keys_add() {
5555
gpg --export --armor "${KEY_ID}" > "${CLI_DIR}/keys/${KEY_ID}.asc"
5656

5757
GNUPGHOME="${CLI_DIR}/gpg" gpg --import "${CLI_DIR}/keys/${KEY_ID}.asc"
58+
GNUPGHOME="${CLI_DIR}/gpg-only-active-keys" gpg --import "${CLI_DIR}/keys/${KEY_ID}.asc"
5859

5960
printf "keys.list <- "
6061
if grep --quiet "${KEY_ID}" "${CLI_DIR}/keys.list"; then

gpg-only-active-keys/pubring.kbx

20.5 KB
Binary file not shown.

gpg-only-active-keys/trustdb.gpg

1.17 KB
Binary file not shown.

0 commit comments

Comments
 (0)