[git] GnuPG - branch, STABLE-BRANCH-1-4, updated. gnupg-1.4.20-13-gca1fc59

by NIIBE Yutaka cvs at cvs.gnupg.org
Wed Jul 6 04:50:33 CEST 2016


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  ca1fc596267b42a894a3fc85c3733007c672ed1f (commit)
      from  39e32d375ef72874848f138d941d6d17f5aff85c (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 ca1fc596267b42a894a3fc85c3733007c672ed1f
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Wed Jul 6 11:45:05 2016 +0900

    g10: Fix keysize with --expert.
    
    * g10/keygen.c (ask_keysize): It's 768 only for DSA.
    
    --
    
    GnuPG-bug-id: 2238
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/g10/keygen.c b/g10/keygen.c
index 76ee74e..268fce5 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -1582,8 +1582,8 @@ ask_keysize (int algo, unsigned int primary_keysize)
   int for_subkey = !!primary_keysize;
   int autocomp = 0;
 
-  if(opt.expert)
-    min=512;
+  if(opt.expert && algo == PUBKEY_ALGO_DSA)
+    min=768;
   else
     min=1024;
 

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

Summary of changes:
 g10/keygen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


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




More information about the Gnupg-commits mailing list