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

[tor-commits] [stem] 12/20: Replace cryptography's X25519PublicKey module



This is an automated email from the git hooks/post-receive script.

atagar pushed a commit to branch maint
in repository stem.

commit 0b79441858f7a9e06da386c24ce6a8d8b397a18c
Author: juga <juga@xxxxxxxxxx>
AuthorDate: Wed May 31 09:52:07 2023 +0000

    Replace cryptography's X25519PublicKey module
    
    with it's new module's path
---
 test/unit/descriptor/hidden_service_v3.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/descriptor/hidden_service_v3.py b/test/unit/descriptor/hidden_service_v3.py
index 33507314..5a02a70b 100644
--- a/test/unit/descriptor/hidden_service_v3.py
+++ b/test/unit/descriptor/hidden_service_v3.py
@@ -269,7 +269,7 @@ class TestHiddenServiceDescriptorV3(unittest.TestCase):
       pubkey_b64 = base64.b64encode(pubkey)
       return stem.util.str_tools._to_unicode(pubkey_b64)
 
-    from cryptography.hazmat.backends.openssl.x25519 import X25519PublicKey
+    from cryptography.hazmat.primitives.asymmetric.x25519 import X25519PublicKey
 
     intro_point = InnerLayer(INNER_LAYER_STR).introduction_points[0]
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits