forked from renovatebot/renovate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(config): add note about GnuPG v2.4 usage (renovatebot#29067)
Co-authored-by: Rhys Arkins <[email protected]> Co-authored-by: HonkingGoose <[email protected]>
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -929,6 +929,32 @@ uid Renovate Bot <[email protected]> | |
sub rsa4096 2021-09-10 [E] | ||
``` | ||
|
||
<!-- prettier-ignore --> | ||
!!! note | ||
If you use GnuPG `v2.4` (or newer) to generate the key, then you must disable `AEAD` preferences. | ||
This is needed to allow Renovate to decrypt the encrypted values. | ||
|
||
```bash | ||
❯ gpg --edit-key [email protected] | ||
gpg> showpref | ||
[ultimate] (1). Renovate Bot <[email protected]> | ||
Cipher: AES256, AES192, AES, 3DES | ||
AEAD: OCB, EAX | ||
Digest: SHA512, SHA384, SHA256, SHA224, SHA1 | ||
Compression: ZLIB, BZIP2, ZIP, Uncompressed | ||
Features: MDC, AEAD, Keyserver no-modify | ||
|
||
gpg> setpref AES256 AES192 AES 3DES SHA512 SHA384 SHA256 SHA224 SHA1 ZLIB BZIP2 ZIP | ||
Set preference list to: | ||
Cipher: AES256, AES192, AES, 3DES | ||
AEAD: | ||
Digest: SHA512, SHA384, SHA256, SHA224, SHA1 | ||
Compression: ZLIB, BZIP2, ZIP, Uncompressed | ||
Features: MDC, Keyserver no-modify | ||
Really update the preferences? (y/N) y | ||
gpg> save | ||
``` | ||
|
||
</details> | ||
|
||
- Copy the key ID from the output (`794B820F34B34A8DF32AADB20649CEXAMPLEONLY` in the above example) or run `gpg --list-secret-keys` if you forgot to take a copy | ||
|