Difference between setpref and options in the configuration

Luis Ressel aranea at aixah.de
Sun Feb 9 16:26:08 CET 2014

You missed a detail here. As the man page says, the personal-* settings
aren't used for creating keys, but for *overriding* preferences of
other keys while encrypting. You want "default-preference-list". This
is the section in my gpg.conf:

cert-digest-algo SHA512
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES TWOFISH CAMELLIA256 CAMELLIA192 CAMELLIA128 CAST5 BZIP2 ZLIB ZIP Uncompressed
personal-cipher-preferences AES256 AES192 AES TWOFISH CAMELLIA256 CAMELLIA192 CAST5
personal-compress-preferences BZIP2 ZLIB ZIP Uncompressed
personal-digest-preferences SHA512 SHA384 SHA256 SHA224
s2k-cipher-algo AES256
s2k-digest-algo SHA512

(I added Camellia and CAST5 because 3DES gets forcibly added at the end
and I'd still prefer those two over 3DES...)

Luis Ressel

Luis Ressel <aranea at aixah.de>
GPG fpr: F08D 2AF6 655E 25DE 52BC  E53D 08F5 7F90 3029 B5BD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: not available
URL: </pipermail/attachments/20140209/9a6d5b0d/attachment.sig>

More information about the Gnupg-users mailing list