aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorWill Sargent <wsargent@users.noreply.github.com>2016-09-24 10:29:56 -0700
committerGitHub <noreply@github.com>2016-09-24 10:29:56 -0700
commit8515aaf8395b935b8695ddd67e998011001268aa (patch)
treeca5155afff4a4c21ac0f38d00ac955b491d91394 /README.md
parentMerge pull request #20 from wsargent/patch-1 (diff)
downloadYubiKey-Guide-8515aaf8395b935b8695ddd67e998011001268aa.tar.gz
Use AES256 for private key password encryption
Adds ``` s2k-cipher-algo AES256 ``` to the GPG configuration, per https://pthree.org/2015/11/19/your-gnupg-private-key/ > --s2k-cipher-algo name > Use name as the cipher algorithm used to protect secret keys. The default cipher is CAST5. This cipher is also used for symmetric encryption with a passphrase if --personal-cipher-preferences and --cipher-algo is not given. https://www.gnupg.org/documentation/manuals/gnupg-2.0/OpenPGP-Options.html#index-s2k_002dcipher_002dalgo
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index ecb922d..eca46b5 100644
--- a/README.md
+++ b/README.md
@@ -159,6 +159,7 @@ Paste the following [text](https://stackoverflow.com/questions/2500436/how-does-
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
cert-digest-algo SHA512
s2k-digest-algo SHA512
+ s2k-cipher-algo AES256
charset utf-8
fixed-list-mode
no-comments
@@ -939,6 +940,7 @@ Paste the following text into a terminal window to create a [recommended](https:
personal-digest-preferences SHA512 SHA384 SHA256 SHA224
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
cert-digest-algo SHA512
+ s2k-cipher-algo AES256
s2k-digest-algo SHA512
charset utf-8
fixed-list-mode