summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0003-gpg-default-key-to-ed25519.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 10:01:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 10:01:36 +0000
commite258c6b9a0e13bd221a428c249a74ab857035b9c (patch)
tree2d4f03d7b5992ffd85634ce17db6e9dca165fa35 /debian/patches/progress-linux/0003-gpg-default-key-to-ed25519.patch
parentSetting default RSA key length to 4096 in gpg. (diff)
downloadgnupg2-e258c6b9a0e13bd221a428c249a74ab857035b9c.tar.xz
gnupg2-e258c6b9a0e13bd221a428c249a74ab857035b9c.zip
Setting default key algorithm to "ed25519/cert,sign+cv25519/encr".
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/progress-linux/0003-gpg-default-key-to-ed25519.patch')
-rw-r--r--debian/patches/progress-linux/0003-gpg-default-key-to-ed25519.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0003-gpg-default-key-to-ed25519.patch b/debian/patches/progress-linux/0003-gpg-default-key-to-ed25519.patch
new file mode 100644
index 0000000..53ffa83
--- /dev/null
+++ b/debian/patches/progress-linux/0003-gpg-default-key-to-ed25519.patch
@@ -0,0 +1,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,