diff options
author | Werner Koch <wk@gnupg.org> | 2015-03-25 10:12:11 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2015-03-25 10:12:11 +0100 |
commit | 1e4d8ddbe3ad7ee8f1c1d1798694d91f792776c0 (patch) | |
tree | 905025099b2295123493dfcaab9eddeaf236659d /sm/gpgsm.c | |
parent | gpg,w32: Handle forward slash in --keyring option. (diff) | |
download | gnupg2-1e4d8ddbe3ad7ee8f1c1d1798694d91f792776c0.tar.xz gnupg2-1e4d8ddbe3ad7ee8f1c1d1798694d91f792776c0.zip |
sm: Change default algos to SHA256 (CSR) and AES128 (bulk encryption).
* sm/certreqgen.c (create_request): Change default hash algo.
* sm/gpgsm.c (DEFAULT_CIPHER_ALGO): Change default bulk cipher algo.
--
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r-- | sm/gpgsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 62e29b86f..773cf9cab 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -438,7 +438,7 @@ static int default_include_certs = DEFAULT_INCLUDE_CERTS; static int default_validation_model; /* The default cipher algo. */ -#define DEFAULT_CIPHER_ALGO "3DES" /*des-EDE3-CBC*/ +#define DEFAULT_CIPHER_ALGO "AES" static char *build_list (const char *text, |