forked from pool/python-http-ece
Accepting request 1066900 from devel:languages:python
- Stop test_ece.py using removed cryptography methods. OBS-URL: https://build.opensuse.org/request/show/1066900 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-http-ece?expand=0&rev=4
This commit is contained in:
commit
661717d185
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 21 04:21:52 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Stop test_ece.py using removed cryptography methods.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 23 10:13:27 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-http-ece
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
@ -53,7 +53,10 @@ class TestEce(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.private_key = make_key()
|
||||
self.dh = self.private_key.public_key().public_numbers().encode_point()
|
||||
self.dh = self.private_key.public_key().public_bytes(
|
||||
Encoding.X962,
|
||||
PublicFormat.UncompressedPoint
|
||||
)
|
||||
self.m_key = os.urandom(16)
|
||||
self.m_salt = os.urandom(16)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user