Re: Difference between setpref and options in the configuration

2014-02-09 Thread Stephane Bortzmeyer
On Sun, Feb 09, 2014 at 04:26:08PM +0100, Luis Ressel wrote a message of 72 lines which said: > default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES TWOFISH > CAMELLIA256 CAMELLIA192 CAMELLIA128 CAST5 BZIP2 ZLIB ZIP Uncompressed Thanks for the explanation. It works. ___

Re: Difference between setpref and options in the configuration

2014-02-09 Thread Pete Stephenson
On Sun, Feb 9, 2014 at 2:39 PM, Stephane Bortzmeyer wrote: > When reading > , which > advises to use gpg --edit-key and setpref to choose "better" > algorithms, I told myself "Why risking forgetting the right > command-line when you can simp

Re: Difference between setpref and options in the configuration

2014-02-09 Thread Luis Ressel
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 SHA

Difference between setpref and options in the configuration

2014-02-09 Thread Stephane Bortzmeyer
When reading , which advises to use gpg --edit-key and setpref to choose "better" algorithms, I told myself "Why risking forgetting the right command-line when you can simply use the configuration file?" So, I put this in ~/.gnupg/gpg.conf :