[tor-commits] [bridgedb/master] Create the spacey OR fingerprint from the fingerprint, not the idkey digest.
isis at torproject.org
isis at torproject.org
Sun Jan 12 06:06:32 UTC 2014
commit d171a7af43963bdaedac16a274b1c370dbb9e6a1
Author: Isis Lovecruft <isis at torproject.org>
Date: Sat Nov 16 00:46:28 2013 +0000
Create the spacey OR fingerprint from the fingerprint, not the idkey digest.
---
scripts/gen_bridge_descriptors | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/gen_bridge_descriptors b/scripts/gen_bridge_descriptors
index b2ebf63..8bc2b6d 100644
--- a/scripts/gen_bridge_descriptors
+++ b/scripts/gen_bridge_descriptors
@@ -754,7 +754,7 @@ def generateDescriptors():
ident_digest = hashlib.sha1(idkey_public).digest()
fingerprint = hashlib.sha1(idkey_public).hexdigest().upper()
- fpr = convertToSpaceyFingerprint(ident_digest)
+ fpr = convertToSpaceyFingerprint(fingerprint)
extrainfo_document = generateExtraInfo(fingerprint, timestamp, ipv4, port)
extrainfo_digest = hashlib.sha1(extrainfo_document).digest()
More information about the tor-commits
mailing list