Commit 89bf536f authored by anonym's avatar anonym
Browse files

Use Tor's SOCKSPort for Enigmail's keyserver configuration.

It's not necessarily the case that users have an HTTP proxy running on
port 8118, and if they do it may be a non-torified Privoxy instance.

Using the Tor SOCKSPort will always work, and be torified.
parent 7fc8da14
Loading
Loading
Loading
Loading
+1 −1
Changes for chrome/content/preferences.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ if (!org.torbirdy.prefs) org.torbirdy.prefs = new function() {
    if (pub.prefs.getBoolPref("extensions.torbirdy.enigmail.throwkeyid")) {
      opts += "--throw-keyids ";
    }
    var proxy = "http-proxy=http://127.0.0.1:8118";
    var proxy = "socks5h://127.0.0.1:9050";
    if (anonService === "jondo") {
      proxy = "http://127.0.0.1:4001";
    }
+1 −1
Changes for components/torbirdy.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ const TorBirdyPrefs = {
                                              // We want to force UTF-8 everywhere
                                              "--display-charset utf-8 " +
                                              // We want to ensure that Enigmail is proxy aware even when it runs gpg in a shell
                                              "--keyserver-options http-proxy=http://127.0.0.1:8118 ",
                                              "--keyserver-options http-proxy=socks5h://127.0.0.1:9050 ",
                                            
  // The default key server should be a hidden service and this is the only known one (it's part of the normal SKS network)
  "extensions.enigmail.keyserver": "hkp://qdigse2yzvuglcix.onion",