agl / xmpp-client

An XMPP client with OTR support
BSD 3-Clause "New" or "Revised" License
365 stars 71 forks source link

Add Calyx hidden service #42

Closed ioerror closed 10 years ago

ioerror commented 10 years ago

Per https://www.calyxinstitute.org/projects/public_jabber_xmpp_server we see that Calyx now runs a Tor Hidden Service for their Jabber service.

I've attached a quick patch to add the HS to the client:

cat 0001-Add-jabber.calyxinstitute.org-Tor-HS.patch
From ff73f9ac6052c385630445285484341a22e45d65 Mon Sep 17 00:00:00 2001
From: Jacob Appelbaum <jacob@appelbaum.net>
Date: Wed, 5 Feb 2014 15:43:12 +0000
Subject: [PATCH] Add jabber.calyxinstitute.org Tor HS

---
 config.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config.go b/config.go
index c4b4ade..e097b68 100644
--- a/config.go
+++ b/config.go
@@ -188,6 +188,7 @@ func enroll(config *Config, term *terminal.Terminal) bool {
    knownTorDomain := map[string]string{
        "jabber.ccc.de": "okj7xc6j2szr2y75.onion",
        "riseup.net":    "ztmc4p37hvues222.onion",
+       "jabber.calyxinstitute.org": "ijeeynrc6x2uy5ob.onion",
    }

    // Autoconfigure well known Tor hidden services.
-- 
1.8.5.3
nickcalyx commented 10 years ago

This looks good to me, thanks Jake !