--pgp2 option asumes CAST5 by default?

David Shaw dshaw@jabberwocky.com
Mon Sep 23 21:57:01 2002


On Mon, Sep 23, 2002 at 09:14:59PM +0200, Johan Wevers wrote:
> Hello,
> 
> When decrypting a file with gpg 1.2.0 that was conventionally encrypted
> with pgp 2.6.3ia, I typed gpg --pgp2 file.pgp. To my surprise, I saw "gpg:
> assuming CAST5 encrypted data", which of course resulted in "gpg: decryption
> failed: bad key". To decrypt it I had to use "gpg --pgp2 --cipher-algo=idea
> file.pgp".
> 
> Why this strange default? I know of only one pgp2 version that understands
> CAST5, most use only IDEA, and I have the idea module compiled into the gpg
> executable.

Hmm.  Do you have a "cipher-algo cast5" in your config file anywhere?

David

-- 
   David Shaw  |  dshaw@jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson