Skip to content

Commit a2a61d9

Browse files
author
Elad Ben-Israel
authored
fix: gpg keygen instructions are not accurate (#164)
The `--gen-key` command of gpg has changed and now, in order to select options, users should use `--full-generate-key`.
1 parent 97b9016 commit a2a61d9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,11 @@ npx jsii-release-maven [DIR]
8989

9090
Install [GnuPG](https://gnupg.org/).
9191

92-
Generate your key (use RSA, 4096, passphrase):
92+
Generate your key:
9393

9494
```console
95-
$ gpg --gen-key
95+
$ gpg --full-generate-key
96+
# select RSA only, 4096, passphrase
9697
```
9798

9899
Your selected passphrase goes to `MAVEN_GPG_PRIVATE_KEY_PASSPHRASE`.

bin/jsii-release-maven

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set -eu # we don't want "pipefail" to implement idempotency
2525
#
2626
# HOW TO CREATE A GPG KEY?
2727
#
28-
# gpg --gen-key (use RSA, 4096, passphrase)
28+
# gpg --full-generate-key (use RSA, 4096, passphrase)
2929
#
3030
# Export and publish the public key:
3131
# 1. gpg -a --export > public.pem

0 commit comments

Comments
 (0)