commit 93615108c59899b661a4977ca66599717334da66
Author: Isis Lovecruft <[email protected]>
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>
·
<a href="mailto:[email protected]">${_("Contact")}</a>
+ ·
+ <a href="../keys">${_("Public Keys")}</a>
</p>
</div>
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits