[tor-commits] [bridgedb/develop] Add a link in HTML footers to BridgeDB's public GPG keys.

isis at torproject.org isis at torproject.org
Wed May 14 03:42:27 UTC 2014


commit 93615108c59899b661a4977ca66599717334da66
Author: Isis Lovecruft <isis at torproject.org>
Date:   Mon May 5 18:50:31 2014 +0000

    Add a link in HTML footers to BridgeDB's public GPG keys.
    
    This file can now be found at: https://bridges.torproject.org/keys
---
 lib/bridgedb/HTTPServer.py       |    2 ++
 lib/bridgedb/templates/base.html |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/lib/bridgedb/HTTPServer.py b/lib/bridgedb/HTTPServer.py
index 5f41f6f..dc38082 100644
--- a/lib/bridgedb/HTTPServer.py
+++ b/lib/bridgedb/HTTPServer.py
@@ -828,6 +828,8 @@ def addWebServer(cfg, dist, sched):
     httpdist.putChild('', WebRoot())
     httpdist.putChild('robots.txt',
                       static.File(os.path.join(TEMPLATE_DIR, 'robots.txt')))
+    httpdist.putChild('keys',
+                      static.File(os.path.join(TEMPLATE_DIR, 'bridgedb.asc')))
     httpdist.putChild('assets',
                       static.File(os.path.join(TEMPLATE_DIR, 'assets/')))
     httpdist.putChild('options', WebResourceOptions())
diff --git a/lib/bridgedb/templates/base.html b/lib/bridgedb/templates/base.html
index 30d5781..4228f9f 100644
--- a/lib/bridgedb/templates/base.html
+++ b/lib/bridgedb/templates/base.html
@@ -93,6 +93,8 @@ ${self.body()}
     <a href="https://gitweb.torproject.org/bridgedb.git">${_("Source Code")}</a>
     &middot
     <a href="mailto:help at rt.torproject.org">${_("Contact")}</a>
+    &middot
+    <a href="../keys">${_("Public Keys")}</a>
   </p>
 </div>
 





More information about the tor-commits mailing list