[tor-commits] [stem/master] Note cryptography ticket in comment explaining hack

atagar at torproject.org atagar at torproject.org
Thu Jun 22 16:08:35 UTC 2017


commit 4ad096fdade80daa0ee47f5c2b0cfa8d0d9bc94d
Author: Damian Johnson <atagar at torproject.org>
Date:   Thu Jun 22 09:01:58 2017 -0700

    Note cryptography ticket in comment explaining hack
    
    Noting the issue we filed so we can drop the hack if/when cryptography provides
    a better method.
---
 stem/descriptor/server_descriptor.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/stem/descriptor/server_descriptor.py b/stem/descriptor/server_descriptor.py
index 2c7258a..8dbd0f0 100644
--- a/stem/descriptor/server_descriptor.py
+++ b/stem/descriptor/server_descriptor.py
@@ -844,7 +844,8 @@ class RelayDescriptor(ServerDescriptor):
         # the hash algorithm used. Tor doesn't. This causes signature
         # validation failures and unfortunately cryptography have no nice way
         # of excluding these so we need to mock out part of their internals...
-        # ewww.
+        #
+        #   https://github.com/pyca/cryptography/issues/3713
 
         def no_op(*args, **kwargs):
           return 1





More information about the tor-commits mailing list