Skip to content

Commit

Permalink
build: Update PyOpenSSL to version 24.1.0
Browse files Browse the repository at this point in the history
`cryptography` removed `X509_V_FLAG_NOTIFY_POLICY` which is still
imported when using the `pysatochip` package but unused.

To fix this we update `pyOpenSSL` to version 24.1.0

pyca/cryptography#9163
pyca/pyopenssl#1213

```
  File "/tmp/.mount_Electrig7PIy/usr/lib/python3.11/site-packages/pysatochip/certificate_validator.py", line 6, in <module>
    import OpenSSL
  File "/tmp/.mount_Electrig7PIy/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
  File "/tmp/.mount_Electrig7PIy/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1556, in <module>
    class X509StoreFlags(object):
  File "/tmp/.mount_Electrig7PIy/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1575, in X509StoreFlags
    NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY
```
  • Loading branch information
EchterAgo committed Mar 20, 2024
1 parent d991996 commit da10ed6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/deterministic-build/requirements-hw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ libusb1==1.9.1 \
mnemonic==0.21 \
--hash=sha256:72dc9de16ec5ef47287237b9b6943da11647a03fe7cf1f139fc3d7c4a7439288 \
--hash=sha256:1fe496356820984f45559b1540c80ff10de448368929b9c60a2b55744cc88acf
pyopenssl==20.0.0 \
--hash=sha256:898aefbde331ba718570244c3b01dcddb1b31a3b336613436a45e52e27d9a82d \
--hash=sha256:92f08eccbd73701cf744e8ffd6989aa7842d48cbe3fea8a7c031c5647f590ac5
pyOpenSSL==24.1.0 \
--hash=sha256:17ed5be5936449c5418d1cd269a1a9e9081bc54c17aed272b45856a3d3dc86ad \
--hash=sha256:cabed4bfaa5df9f1a16c0ef64a0cb65318b5cd077a7eda7d6970131ca2f41a6f
pysatochip==0.12.4 \
--hash=sha256:805156d252ae9b4bc618ab4167933b60508a878dcf08a3eaca32a4c825811b0d \
--hash=sha256:871b8f7ef80eac3c52f1363b5aee7f3047612b760259f4c5db8c054959557c2c
Expand Down

0 comments on commit da10ed6

Please sign in to comment.