diff options
author | Daniel Kahn Gillmor <[email protected]> | 2017-09-07 22:39:37 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2019-02-28 10:00:31 +0000 |
commit | 121286d9d1506dbaad9ba33bae2e459814fe5849 (patch) | |
tree | c02632295e6acfd09468d9868773deab993ef8f3 /sm/gpgsm.c | |
parent | conf: New option --show-socket. (diff) | |
download | gnupg-121286d9d1506dbaad9ba33bae2e459814fe5849.tar.gz gnupg-121286d9d1506dbaad9ba33bae2e459814fe5849.zip |
gpgsm: default to 3072-bit keys.
* doc/gpgsm.texi, doc/howto-create-a-server-cert.texi: : update
default to 3072 bits.
* sm/certreqgen-ui.c (gpgsm_gencertreq_tty): update default to
3072 bits.
* sm/certreqgen.c (proc_parameters): update default to 3072 bits.
* sm/gpgsm.c (main): print correct default_pubkey_algo.
--
3072-bit RSA is widely considered to be 128-bit-equivalent security.
This is a sensible default in 2017.
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Gbp-Pq: Topic update-defaults
Gbp-Pq: Name 0014-gpgsm-default-to-3072-bit-keys.patch
(cherry picked from commit 7955262151a5c755814dd23414e6804f79125355)
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 defc698db..52f26e21d 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -1800,7 +1800,7 @@ main ( int argc, char **argv) /* The next one is an info only item and should match what proc_parameters actually implements. */ es_printf ("default_pubkey_algo:%lu:\"%s:\n", GC_OPT_FLAG_DEFAULT, - "RSA-2048"); + "RSA-3072"); es_printf ("compliance:%lu:\"%s:\n", GC_OPT_FLAG_DEFAULT, "gnupg"); } |