[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Note cryptography ticket in comment explaining hack
commit 4ad096fdade80daa0ee47f5c2b0cfa8d0d9bc94d
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits