[tor-commits] [stem/master] Cite cryptography blinding ticket

atagar at torproject.org atagar at torproject.org
Mon Nov 18 23:39:39 UTC 2019


commit f82040d2b49d5e17e862254770520ae80f392ee0
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Nov 18 15:37:56 2019 -0800

    Cite cryptography blinding ticket
    
    Thanks to asn we now have an upstream ticket for the ed25519 blinding support
    we need.
---
 stem/descriptor/hidden_service.py | 7 ++++---
 stem/util/slow_ed25519.py         | 4 ++++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/stem/descriptor/hidden_service.py b/stem/descriptor/hidden_service.py
index 0e710e7a..d17c7d9c 100644
--- a/stem/descriptor/hidden_service.py
+++ b/stem/descriptor/hidden_service.py
@@ -920,9 +920,10 @@ class HiddenServiceDescriptorV3(BaseHiddenServiceDescriptor):
     Construction through this method can supply any or none of these, with
     omitted parameters populated with randomized defaults.
 
-    **Ed25519 key blinding takes several seconds**, and as such is disabled if a
-    **blinding_nonce** is not provided. To blind with a random nonce simply
-    call...
+    `Ed25519 key blinding takes several seconds
+    <https://github.com/pyca/cryptography/issues/5068>`_, and as such is
+    disabled if a **blinding_nonce** is not provided. To blind with a random
+    nonce simply call...
 
     ::
 
diff --git a/stem/util/slow_ed25519.py b/stem/util/slow_ed25519.py
index fb617464..9e9864d2 100644
--- a/stem/util/slow_ed25519.py
+++ b/stem/util/slow_ed25519.py
@@ -5,6 +5,10 @@
 # It isn't constant-time.  Don't use it except for testing.  Also, see
 # warnings about how very slow it is.  Only use this for generating
 # test vectors, I'd suggest.
+#
+# Cryptography replacement of this is pending...
+#
+#   https://github.com/pyca/cryptography/issues/5068
 
 import hashlib
 



More information about the tor-commits mailing list