{gnupg 2.1.6} Howto change s2k cipher from AES -> AES256?

Werner Koch wk at gnupg.org
Mon Jul 20 17:31:09 CEST 2015


On Sun, 12 Jul 2015 20:46, dieamme at googlemail.com said:

> Is there a way to change the encryption-cipher for the 
> secret Keys in "private-keys-v1.d" ?

No.

There is decryption support for AES256 and we may eventually enable
AES256 for encryption.  Right now that is not possible because it would
break too many old installations.

>   gpg2 --openpgp --s2k-cipher-algo AES256 --s2k-digest-algo SHA512 \
>   --s2k-mode 3 --s2k-count 65000000 --edit-key Key-id

With GnuPG 2.1 the s2k options are only used for --symmetric encryption.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list