[git] GnuPG - branch, STABLE-BRANCH-1-4, updated. gnupg-1.4.14-3-g6ed7056

by Werner Koch cvs at cvs.gnupg.org
Fri Aug 30 10:58:01 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, STABLE-BRANCH-1-4 has been updated
       via  6ed7056197e7ede1305b25457e4633c4ac4301d4 (commit)
      from  a1a59e6a539e597996976d0afb6aa3062e954188 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6ed7056197e7ede1305b25457e4633c4ac4301d4
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Aug 30 10:19:14 2013 +0200

    gpg: Use 2048 as the default keysize in batch mode.
    
    * g10/keygen.c (gen_elg, gen_dsa, gen_rsa): Set default keysize to
    2048.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/g10/keygen.c b/g10/keygen.c
index 30ec370..8353f36 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -1043,7 +1043,7 @@ gen_elg(int algo, unsigned nbits, KBNODE pub_root, KBNODE sec_root, DEK *dek,
     assert( is_ELGAMAL(algo) );
 
     if( nbits < 512 ) {
-	nbits = 1024;
+	nbits = 2048;
 	log_info(_("keysize invalid; using %u bits\n"), nbits );
     }
 
@@ -1126,7 +1126,7 @@ gen_dsa(unsigned int nbits, KBNODE pub_root, KBNODE sec_root, DEK *dek,
 
     if( nbits < 512)
       {
-	nbits = 1024;
+	nbits = 2048;
 	log_info(_("keysize invalid; using %u bits\n"), nbits );
       }
     else if(nbits>3072)
@@ -1256,7 +1256,7 @@ gen_rsa(int algo, unsigned nbits, KBNODE pub_root, KBNODE sec_root, DEK *dek,
     assert( is_RSA(algo) );
 
     if( nbits < 1024 ) {
-	nbits = 1024;
+	nbits = 2048;
 	log_info(_("keysize invalid; using %u bits\n"), nbits );
     }
 

-----------------------------------------------------------------------

Summary of changes:
 g10/keygen.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list