updprefs command and changing key

David Shaw dshaw at jabberwocky.com
Sun Mar 14 14:19:46 CET 2010


On Mar 14, 2010, at 8:26 AM, MFPA wrote:
>>> It was just curiosity. By the way, is it possible to disable some
>>> other encryption algo, but without forcing GnuPG to use a chosen algo? I
>>> mean... lets suppose I don't want to use AES, but I'm ok with twofish,
>>> 3DES, and Camellia (any of there would be good enough).
> 
>> Sure.  If you just don't list AES in your preferences, nobody will
>> use it when encrypting to you.  Similarly, if you have
>> personal-cipher-preferences and you leave off AES, you won't use it
>> when encrypting to someone else.
> 
> Would "--disable-cipher-algo AES" add anything to that? Or cause
> potential problems?

Potential problems.  If you have AES in your key preferences, but you disable it, you are telling people to use AES - but then not decrypting it.

Basically, you can guarantee you won't encrypt to anyone using AES if you disable it, but this also means you won't be able to decrypt anything that comes to you in AES.

David




More information about the Gnupg-users mailing list