summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0003-gpg-default-key-to-ed25519.patch
blob: 53ffa837c89ebc7a58526fe70bfec4390c25bb28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Daniel Baumann <daniel.baumann@progress-linux.org>
Description: Setting default key algorithm to "ed25519/cert,sign+cv25519/encr".

diff -Naurp gnupg2.orig/g10/keygen.c gnupg2/g10/keygen.c
--- gnupg2.orig/g10/keygen.c
+++ gnupg2/g10/keygen.c
@@ -49,7 +49,7 @@
 /* The default algorithms. You should also check that the value
    is inside the bounds enforced by ask_keysize and gen_xxx.  See also
    get_keysize_range which encodes the allowed ranges.  */
-#define DEFAULT_STD_KEY_PARAM  "rsa4096/cert,sign+rsa4096/encr"
+#define DEFAULT_STD_KEY_PARAM  "ed25519/cert,sign+cv25519/encr"
 #define FUTURE_STD_KEY_PARAM   "ed25519/cert,sign+cv25519/encr"
 
 /* When generating keys using the streamlined key generation dialog,