Overview

Request 1143983 superseded

- update to 42.0.2:
* Updated Windows, macOS, and Linux wheels to be compiled with
OpenSSL 3.2.1.
* Fixed an issue that prevented the use of Python buffer
protocol objects in sign and verify methods on asymmetric
keys.
* Fixed an issue with incorrect keyword-argument naming with
EllipticCurvePrivateKey :meth:`~cryptography.hazmat.primitive
s.asymmetric.ec.EllipticCurvePrivateKey.exchange`,
X25519PrivateKey :meth:`~cryptography.hazmat.primitives.asymm
etric.x25519.X25519PrivateKey.exchange`, X448PrivateKey :meth
:`~cryptography.hazmat.primitives.asymmetric.x448.X448Private
Key.exchange`, and DHPrivateKey :meth:`~cryptography.hazmat.p
rimitives.asymmetric.dh.DHPrivateKey.exchange`.

- update to 42.0.1:
* Fixed an issue with incorrect keyword-argument naming with
EllipticCurvePrivateKey :meth:`~cryptography.hazmat.primitive
s.asymmetric.ec.EllipticCurvePrivateKey.sign`.
* Resolved compatibility issue with loading certain RSA public
keys in :func:`~cryptography.hazmat.primitives.serialization.
load_pem_public_key`.
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.7.
* BACKWARDS INCOMPATIBLE: Loading a PKCS7 with no content field
using :func:`~cryptography.hazmat.primitives.serialization.pk
cs7.load_pem_pkcs7_certificates` or :func:`~cryptography.hazm
at.primitives.serialization.pkcs7.load_der_pkcs7_certificates
` will now raise a ValueError rather than return an empty
list.
* Parsing SSH certificates no longer permits malformed critical


Ana Guerrero's avatar

@dirkmueller python-cryptography:test is failing to build:

[  176s] =================================== FAILURES ===================================
[  176s] ________________________ TestAESSIV.test_data_too_large ________________________
[  176s] [gw1] linux -- Python 3.9.18 /usr/bin/python3.9
[  176s] 
[  176s] self = <tests.hazmat.primitives.test_aead.TestAESSIV object at 0xf572fd00>
[  176s] 
[  176s]     [@pytest.mark.skipif](https://build.opensuse.org/users/pytest.mark.skipif)(
[  176s]         sys.platform not in {"linux", "darwin"}, reason="mmap required"
[  176s]     )
[  176s]     def test_data_too_large(self):
[  176s]         key = AESSIV.generate_key(256)
[  176s]         aessiv = AESSIV(key)
[  176s]     
[  176s] >       large_data = large_mmap()
[  176s] 
[  176s] tests/hazmat/primitives/test_aead.py:704: 
[  176s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  176s] 
[  176s]     def large_mmap():
[  176s] >       return mmap.mmap(-1, 2**32, prot=mmap.PROT_READ)
[  176s] E       OverflowError: Python int too large to convert to C ssize_t
[  176s] 
[  176s] tests/hazmat/primitives/test_aead.py:41: OverflowError
[  176s] ___________________ TestChaCha20Poly1305.test_data_too_large ___________________
[  176s] [gw0] linux -- Python 3.9.18 /usr/bin/python3.9
[  176s] 
[  176s] self = <tests.hazmat.primitives.test_aead.TestChaCha20Poly1305 object at 0xf544f3d0>
[  176s] 
[  176s]     [@pytest.mark.skipif](https://build.opensuse.org/users/pytest.mark.skipif)(
[  176s]         sys.platform not in {"linux", "darwin"}, reason="mmap required"
[  176s]     )
[  176s]     def test_data_too_large(self):
[  176s]         key = ChaCha20Poly1305.generate_key()
[  176s]         chacha = ChaCha20Poly1305(key)
[  176s]         nonce = b"0" * 12
[  176s]     
[  176s] >       large_data = large_mmap()
[  176s] 
[  176s] tests/hazmat/primitives/test_aead.py:66: 
[  176s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  176s] 
[  176s]     def large_mmap():
[  176s] >       return mmap.mmap(-1, 2**32, prot=mmap.PROT_READ)
[  176s] E       OverflowError: Python int too large to convert to C ssize_t
[  176s] 
[  176s] tests/hazmat/primitives/test_aead.py:41: OverflowError
[  176s] ________________________ TestAESCCM.test_data_too_large ________________________
[  176s] [gw0] linux -- Python 3.9.18 /usr/bin/python3.9
[  176s] 
[  176s] self = <tests.hazmat.primitives.test_aead.TestAESCCM object at 0xf544f310>
[  176s] 
[  176s]     [@pytest.mark.skipif](https://build.opensuse.org/users/pytest.mark.skipif)(
[  176s]         sys.platform not in {"linux", "darwin"}, reason="mmap required"
[  176s]     )
[  176s]     def test_data_too_large(self):
[  176s]         key = AESCCM.generate_key(128)
[  176s]         aesccm = AESCCM(key)
[  176s]         nonce = b"0" * 12
[  176s]     
[  176s] >       large_data = large_mmap()
[  176s] 
[  176s] tests/hazmat/primitives/test_aead.py:207: 
[  176s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  176s] 
[  176s]     def large_mmap():
[  176s] >       return mmap.mmap(-1, 2**32, prot=mmap.PROT_READ)
[  176s] E       OverflowError: Python int too large to convert to C ssize_t
[  176s] 
[  176s] tests/hazmat/primitives/test_aead.py:41: OverflowError
[  176s] ________________________ TestAESGCM.test_data_too_large ________________________
[  176s] [gw0] linux -- Python 3.9.18 /usr/bin/python3.9
[  176s] 
[  176s] self = <tests.hazmat.primitives.test_aead.TestAESGCM object at 0xf54d1d78>
[  176s] 
[  176s]     [@pytest.mark.skipif](https://build.opensuse.org/users/pytest.mark.skipif)(
[  176s]         sys.platform not in {"linux", "darwin"}, reason="mmap required"
[  176s]     )
[  176s]     def test_data_too_large(self):
[  176s]         key = AESGCM.generate_key(128)
[  176s]         aesgcm = AESGCM(key)
[  176s]         nonce = b"0" * 12
[  176s]     
[  176s] >       large_data = large_mmap()
[  176s] 
[  176s] tests/hazmat/primitives/test_aead.py:385: 
[  176s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  176s] 
[  176s]     def large_mmap():
[  176s] >       return mmap.mmap(-1, 2**32, prot=mmap.PROT_READ)
[  176s] E       OverflowError: Python int too large to convert to C ssize_t
[  176s] 
[  176s] tests/hazmat/primitives/test_aead.py:41: OverflowError
[  176s] _______________________ TestAESOCB3.test_data_too_large ________________________
[  176s] [gw0] linux -- Python 3.9.18 /usr/bin/python3.9
[  176s] 
[  176s] self = <tests.hazmat.primitives.test_aead.TestAESOCB3 object at 0xf54d1700>
[  176s] 
[  176s]     [@pytest.mark.skipif](https://build.opensuse.org/users/pytest.mark.skipif)(
[  176s]         sys.platform not in {"linux", "darwin"}, reason="mmap required"
[  176s]     )
[  176s]     def test_data_too_large(self):
[  176s]         key = AESOCB3.generate_key(128)
[  176s]         aesocb3 = AESOCB3(key)
[  176s]         nonce = b"0" * 12
[  176s]     
[  176s] >       large_data = large_mmap()
[  176s] 
[  176s] tests/hazmat/primitives/test_aead.py:530: 
[  176s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[  176s] 
[  176s]     def large_mmap():
[  176s] >       return mmap.mmap(-1, 2**32, prot=mmap.PROT_READ)
[  176s] E       OverflowError: Python int too large to convert to C ssize_t
[  176s] 
[  176s] tests/hazmat/primitives/test_aead.py:41: OverflowError

Ana Guerrero's avatar

@dirkmueller

Small versioning issue:

unresolvable: nothing provides python39-cryptography-vectors = 42.0.1, (got version 42.0.2-1.1), nothing provides python310-cryptography-vectors = 42.0.1, (got version 42.0.2-1.1), nothing provides python311-cryptography-vectors = 42.0.1, (got version 42.0.2-1.1)
Request History
Dirk Mueller's avatar

dirkmueller created request

- update to 42.0.2:
* Updated Windows, macOS, and Linux wheels to be compiled with
OpenSSL 3.2.1.
* Fixed an issue that prevented the use of Python buffer
protocol objects in sign and verify methods on asymmetric
keys.
* Fixed an issue with incorrect keyword-argument naming with
EllipticCurvePrivateKey :meth:`~cryptography.hazmat.primitive
s.asymmetric.ec.EllipticCurvePrivateKey.exchange`,
X25519PrivateKey :meth:`~cryptography.hazmat.primitives.asymm
etric.x25519.X25519PrivateKey.exchange`, X448PrivateKey :meth
:`~cryptography.hazmat.primitives.asymmetric.x448.X448Private
Key.exchange`, and DHPrivateKey :meth:`~cryptography.hazmat.p
rimitives.asymmetric.dh.DHPrivateKey.exchange`.

- update to 42.0.1:
* Fixed an issue with incorrect keyword-argument naming with
EllipticCurvePrivateKey :meth:`~cryptography.hazmat.primitive
s.asymmetric.ec.EllipticCurvePrivateKey.sign`.
* Resolved compatibility issue with loading certain RSA public
keys in :func:`~cryptography.hazmat.primitives.serialization.
load_pem_public_key`.
* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.7.
* BACKWARDS INCOMPATIBLE: Loading a PKCS7 with no content field
using :func:`~cryptography.hazmat.primitives.serialization.pk
cs7.load_pem_pkcs7_certificates` or :func:`~cryptography.hazm
at.primitives.serialization.pkcs7.load_der_pkcs7_certificates
` will now raise a ValueError rather than return an empty
list.
* Parsing SSH certificates no longer permits malformed critical


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:F as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:F"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:F"


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:F"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:I as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:I"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:I"


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar accepted review

ok


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:I"


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:F as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:F"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:F"


Staging Bot's avatar

staging-bot added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Staging Bot's avatar

staging-bot accepted review

Unstaged from project "openSUSE:Factory:Staging:F"


Staging Bot's avatar

staging-bot declined review

sr#1146015 has newer source and is from the same project


Staging Bot's avatar

staging-bot declined request

sr#1146015 has newer source and is from the same project


Daniel Garcia's avatar

dgarcia superseded request

superseded by 1149625

openSUSE Build Service is sponsored by