[git] GnuPG - branch, master, updated. gnupg-2.2.0-6-g73ff075

by Daniel Kahn Gillmor cvs at cvs.gnupg.org
Fri Sep 8 20:33:48 CEST 2017


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, master has been updated
       via  73ff075204df09db5248170a049f06498cdbb7aa (commit)
      from  909fbca19678e6e36968607e8a2348381da39d8c (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 73ff075204df09db5248170a049f06498cdbb7aa
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Thu Sep 7 19:04:00 2017 -0400

    gpg: default to AES-256.
    
    * g10/main.h (DEFAULT_CIPHER_ALGO): Prefer AES256 by default.
    
    --
    
    It's 2017, and pretty much everyone has AES-256 available.  Symmetric
    crypto is also rarely the bottleneck (asymmetric crypto is much more
    expensive).  AES-256 provides some level of protection against
    large-scale decryption efforts, and longer key lengths provide a hedge
    against unforseen cryptanalysis.
    
    Signed-off-by: Daniel Kahn Gillmor <dkg at fifthhorseman.net>

diff --git a/g10/main.h b/g10/main.h
index 87417ee..4850360 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -31,7 +31,9 @@
    (i.e. uncompressed) rather than 1 (zip).  However, the real world
    issues of speed and size come into play here. */
 
-#if GPG_USE_AES128
+#if GPG_USE_AES256
+# define DEFAULT_CIPHER_ALGO     CIPHER_ALGO_AES256
+#elif GPG_USE_AES128
 # define DEFAULT_CIPHER_ALGO     CIPHER_ALGO_AES
 #elif GPG_USE_CAST5
 # define DEFAULT_CIPHER_ALGO     CIPHER_ALGO_CAST5

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

Summary of changes:
 g10/main.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


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




More information about the Gnupg-commits mailing list