IDEA algorithm

Johan Wevers johanw@vulcan.xs4all.nl
Tue Jul 8 16:29:02 2003


David Shaw wrote:

>Well, sure... if you set IDEA as your first preference, it'll
>certainly be used.

But I've set all algorithms gpg uses in my key prefs. I have switched
encrypt to self on (but I assume toy already understood that). When I
check the key I'm encrypting to, I get:

     Cipher: CAST5, 3DES, IDEA
     Digest: SHA1
     Compression: ZIP, Uncompressed

while my own key has

     Cipher: IDEA, TWOFISH, BLOWFISH, CAST5, 3DES, AES, AES192, AES256
     Digest: SHA1, RIPEMD160, MD5, TIGER192
     Compression: ZIP, ZLIB, Uncompressed
     Features: MDC

I would assume this would result in a message encrypted with CAST5, hash
SHA1 and ZIP compression. Apparently GnuPG uses my preferences first,
something I hadn't expect.

-- 
ir. J.C.A. Wevers         //  Physics and science fiction site:
johanw@vulcan.xs4all.nl   //  http://www.xs4all.nl/~johanw/index.html
PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html