[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #9462 [BridgeDB]: BridgeDB does some strange things when parsing bridge descriptors
#9462: BridgeDB does some strange things when parsing bridge descriptors
-------------------------+--------------------------------------------------
Reporter: isis | Owner: isis
Type: defect | Status: accepted
Priority: normal | Milestone:
Component: BridgeDB | Version:
Keywords: descriptors | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Changes (by isis):
* cc: isis@â (added)
* status: new => accepted
Comment:
The first one was fixed here:
{{{
* commit b5ebab54369de950339a9fa2ff3483ebff32e4f8 (HEAD, tpo-isis/fix
/9462A-keyid-equals-fingerprint
| gpg: Signature made Mon 12 Aug 2013 21:58:28 UTC
gpg: using RSA key A3ADB67A2CDB8B35
gpg: Good signature from "Isis! <isis@xxxxxxxxxxxxxxxxxxxxx>" [ultimate]
gpg: aka "Isis <isis@xxxxxxx>" [ultimate]
gpg: aka "Isis <isis@xxxxxxxxxxxxxx>" [ultimate]
gpg: aka "Isis! <isis@xxxxxxxxxx>" [ultimate]
gpg: Signature notation:
isis@xxxxxxxxxxxxxxxxxxxxx=0A6A58A14B5946ABDE18E207A3ADB67A2CDB8B35
gpg: Signature expires Tue 12 Aug 2014 21:58:28 UTC
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
| AuthorDate: 2 minutes ago
| Commit: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
| CommitDate: 2 minutes ago
|
| Fix prepending of "keyid=" string to PT bridge fingerprints.
| ---
| lib/bridgedb/Bridges.py | 3 +--
| 1 file changed, 1 insertion(+), 2 deletions(-)
|
| diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
| index 9fc94e8..846bb77 100644
| --- a/lib/bridgedb/Bridges.py
| +++ b/lib/bridgedb/Bridges.py
| @@ -465,8 +465,7 @@ class PluggableTransport:
| address = "[%s]" % self.address
| else: address = self.address
| host = "%s %s:%d" % (self.methodname, address, self.port)
| - fp = ''
| - if includeFingerprint: fp = "keyid=%s" %
self.bridge.fingerprint
| + fp = str(self.bridge.fingerprint) if includeFingerprint else ''
| args = " ".join(["%s=%s"%(k,v) for k,v in
self.argdict.items()]).strip()
| return "%s %s %s" % (host, fp, args)
|
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9462#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs