aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-08-16 14:05:27 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-08-16 14:05:27 +1200
commit19d350e607765c71b58e734d20a61f7f6db91abf (patch)
treea25187e0a7673ea79d65fbc20fcf58c72188d953
parentccfad20a0433b04414d3517fa9e6a1fc029a1762 (diff)
downloaddotfiles-19d350e607765c71b58e734d20a61f7f6db91abf.tar.gz
Adjust keyserver choice to leverage Tor presence
-rw-r--r--gnupg/dirmngr.conf11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnupg/dirmngr.conf b/gnupg/dirmngr.conf
index c9532a85..5c6a4ca1 100644
--- a/gnupg/dirmngr.conf
+++ b/gnupg/dirmngr.conf
@@ -1 +1,10 @@
-use-tor
+# From `man 1 dirmngr` for GnuPG 2.1.18:
+# > If exactly two keyservers are configured and only one is a Tor
+# > hidden service (.onion), Dirmngr selects the keyserver to use
+# > depending on whether Tor is locally running or not. The check for
+# > a running Tor is done for each new connec‐ tion. If no keyserver is
+# > explicitly configured, dirmngr will use the built-in default of
+# > hkps://hkps.pool.sks-key‐servers.net.
+#
+keyserver hkp://jirk5u4osbsr34t5.onion
+keyserver hkps://hkps.pool.sks-keyservers.net