On Mar 13, 2010, at 5:14 AM, MFPA wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi > > > On Saturday 13 March 2010 at 12:07:08 AM, in > <mid:de002b15-fa18-49a1-b7b0-5afaaf829...@jabberwocky.com>, David Shaw > wrote: > > >> On Mar 12, 2010, at 6:31 PM, Faramir wrote: > >>> is there a way to disable the usage of 3DES in GnuPG, when >>> encrypting? > >> Patch the source :) > >> There is no way other than that. > > Wouldn't "--disable-cipher-algo 3DES" achieve this?
Try it - make a key that has only 3DES in its preferences, and then try encrypting to it with --disable-cipher-algo 3DES set. You'll end up with 3DES anyway. The way the code is structured, if the cipher selection algorithm fails (and it will in this case - the key requires 3DES, but you've disabled 3DES) so GPG has to resolve the crisis somehow - and it resolves it by using 3DES as it "knows" that OpenPGP requires it to be present. David _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users