diff options
author | Werner Koch <[email protected]> | 2014-08-18 09:45:00 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-08-18 09:45:00 +0000 |
commit | 57df1121c18b004dd763b35eabf7b51fc9e8ec38 (patch) | |
tree | 27650b4baab0966f55fe409f8697d0be485b234a /doc/gpg.texi | |
parent | yat2m: Support @set and @value. (diff) | |
download | gnupg-57df1121c18b004dd763b35eabf7b51fc9e8ec38.tar.gz gnupg-57df1121c18b004dd763b35eabf7b51fc9e8ec38.zip |
gpg: Change default cipher for --symmetric from CAST5 to AES-128.
* g10/main.h (DEFAULT_CIPHER_ALGO): Chhange to AES or CAST5 or 3DES
depending on configure option.
* g10/gpg.c (main): Set opt.s2k_cipher_algo to DEFAULT_CIPHER_ALGO.
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r-- | doc/gpg.texi | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index 36aa18ef1..7ac1613f9 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -1,4 +1,4 @@ -@c Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, + @c Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, @c 2008, 2009, 2010 Free Software Foundation, Inc. @c This is part of the GnuPG manual. @c For copying conditions, see the file gnupg.texi. @@ -14,6 +14,19 @@ @cindex command options @cindex options, GPG command +@c Begin algorithm defaults + +@ifclear gpgtwoone +@set DEFSYMENCALGO CAST5 +@end ifclear + +@ifset gpgtwoone +@set DEFSYMENCALGO AES128 +@end ifset + +@c End algorithm defaults + + @c Begin GnuPG 1.x specific stuff @ifset gpgone @macro gpgname @@ -217,7 +230,7 @@ decrypted via a secret key or a passphrase). @itemx -c @opindex symmetric Encrypt with a symmetric cipher using a passphrase. The default -symmetric cipher used is CAST5, but may be chosen with the +symmetric cipher used is @value{DEFSYMENCALGO}, but may be chosen with the @option{--cipher-algo} option. This option may be combined with @option{--sign} (for a signed and symmetrically encrypted message), @option{--encrypt} (for a message that may be decrypted via a secret key @@ -2272,7 +2285,7 @@ to consider (e.g. @option{--symmetric}). @item --s2k-cipher-algo @code{name} @opindex s2k-cipher-algo Use @code{name} as the cipher algorithm used to protect secret keys. -The default cipher is CAST5. This cipher is also used for +The default cipher is @value{DEFSYMENCALGO}. This cipher is also used for conventional encryption if @option{--personal-cipher-preferences} and @option{--cipher-algo} is not given. |