aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnupg/change-default-keyserver.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gnupg/change-default-keyserver.patch')
-rw-r--r--main/gnupg/change-default-keyserver.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/gnupg/change-default-keyserver.patch b/main/gnupg/change-default-keyserver.patch
new file mode 100644
index 0000000000..f2be04460d
--- /dev/null
+++ b/main/gnupg/change-default-keyserver.patch
@@ -0,0 +1,25 @@
+hkps.pool.sks-keyservers.net is dead. This patch backports the change of
+the default keyserver from newer versions of gnupg to keyserver.ubuntu.com.
+
+--- a/configure
++++ b/configure
+@@ -16059,7 +16059,7 @@
+
+
+ cat >>confdefs.h <<_ACEOF
+-#define DIRMNGR_DEFAULT_KEYSERVER "hkps://hkps.pool.sks-keyservers.net"
++#define DIRMNGR_DEFAULT_KEYSERVER "hkps://keyserver.ubuntu.com"
+ _ACEOF
+
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -1839,7 +1839,7 @@
+ AC_DEFINE_UNQUOTED(DIRMNGR_SOCK_NAME, "S.dirmngr",
+ [The name of the dirmngr socket])
+ AC_DEFINE_UNQUOTED(DIRMNGR_DEFAULT_KEYSERVER,
+- "hkps://hkps.pool.sks-keyservers.net",
++ "hkps://keyserver.ubuntu.com",
+ [The default keyserver for dirmngr to use, if none is explicitly given])
+
+ AC_DEFINE_UNQUOTED(GPGEXT_GPG, "gpg", [The standard binary file suffix])