diff options
author | Werner Koch <wk@gnupg.org> | 2014-09-27 15:21:02 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-09-27 15:28:17 +0200 |
commit | d33246700578cddd1cb8ed8164cfbba50aba4ef3 (patch) | |
tree | dd821f0ef7465282b96eac5667276481788ad7dd /configure.ac | |
parent | gpg: Simplify command --gen-key and add --full-gen-key. (diff) | |
download | gnupg2-d33246700578cddd1cb8ed8164cfbba50aba4ef3.tar.xz gnupg2-d33246700578cddd1cb8ed8164cfbba50aba4ef3.zip |
gpg: Default to SHA-256 for all signature types on RSA keys.
* g10/main.h (DEFAULT_DIGEST_ALGO): Use SHA256 in --gnupg and SHA1 in
strict RFC or PGP modes.
* g10/sign.c (make_keysig_packet): Use DEFAULT_DIGEST_ALGO also for
RSA key signatures.
* configure.ac: Do not allow to disable sha256.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index a2f07cbb9..c627c27aa 100644 --- a/configure.ac +++ b/configure.ac @@ -254,7 +254,7 @@ GNUPG_GPG_DISABLE_ALGO([md5],[MD5 hash]) # SHA1 is a MUSt algorithm GNUPG_GPG_DISABLE_ALGO([rmd160],[RIPE-MD160 hash]) GNUPG_GPG_DISABLE_ALGO([sha224],[SHA-224 hash]) -GNUPG_GPG_DISABLE_ALGO([sha256],[SHA-256 hash]) +# SHA256 is a MUST algorithm for GnuPG. GNUPG_GPG_DISABLE_ALGO([sha384],[SHA-384 hash]) GNUPG_GPG_DISABLE_ALGO([sha512],[SHA-512 hash]) |