summaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-03-25 10:12:11 +0100
committerWerner Koch <wk@gnupg.org>2015-03-25 10:12:11 +0100
commit1e4d8ddbe3ad7ee8f1c1d1798694d91f792776c0 (patch)
tree905025099b2295123493dfcaab9eddeaf236659d /sm/gpgsm.c
parentgpg,w32: Handle forward slash in --keyring option. (diff)
downloadgnupg2-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.c2
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,