cipher used when both --encrypt and --symmetric is specified

Peter Lebbing peter at
Mon Feb 29 12:12:53 CET 2016

On 29/02/16 11:51, Martin Ilchev wrote:
> So CAST5 is the preferred cipher for secret keys and is also the default
> for symmetric. On the other hand using --personal-cipher-preferences
> does not seem to apply to symmetric + public encryption. Is this by design?

For me, GnuPG 1.4 behaves as you indicate, which is counterintuitive,
especially given the text in the man page. But GnuPG 2.1 correctly gives
me the preferred algo from the intersection of
--personal-cipher-preferences and key prefs. It's a bit difficult for me
to test GnuPG 2.0 at the moment. I should do something about that.

I faintly recall some discussion about this, but that's it, I don't
remember more than that. You could try a search on this mailing list.



I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <>

More information about the Gnupg-users mailing list