Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Backup files, redundant with git history
/gpg/*~
/gpg*/*~
/gpg*/S.*

# TOFU trust database (unused; see https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration-Options.html)
/gpg/tofu.db
/gpg*/tofu.db
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,15 @@ Other keys used to sign some previous releases:

## Verifying Release Packages

This repo contains the raw release signing keys in two forms:
This repo contains the raw release signing keys in three forms:

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

2. The **gpg/** directory contains a GPG keyring preloaded with these release signing keys.
- The **gpg/** directory contains a GPG keyring preloaded with these release signing keys.

- The **gpg-only-active-keys/** directory contains a GPG keyring preloaded with
the active release signing keys. Use this if you only need to verify
signatures of "future" releases.

For additional verification of both the keys' content *and* of the list of authorized signing
keys, you may cross-reference the list with [nodejs.org](https://nodejs.org) and attempt to
Expand Down
1 change: 1 addition & 0 deletions cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ nodejs_keys_add() {
gpg --export --armor "${KEY_ID}" > "${CLI_DIR}/keys/${KEY_ID}.asc"

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

printf "keys.list <- "
if grep --quiet "${KEY_ID}" "${CLI_DIR}/keys.list"; then
Expand Down
Binary file added gpg-only-active-keys/pubring.kbx
Binary file not shown.
Binary file added gpg-only-active-keys/trustdb.gpg
Binary file not shown.