[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] Create the spacey OR fingerprint from the fingerprint, not the idkey digest.



commit d171a7af43963bdaedac16a274b1c370dbb9e6a1
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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()



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits