From da10ed659925900685176ec95a891224d9714ef6 Mon Sep 17 00:00:00 2001 From: Axel Gembe Date: Wed, 20 Mar 2024 23:56:32 +0700 Subject: [PATCH] build: Update PyOpenSSL to version 24.1.0 `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 https://github.com/pyca/cryptography/pull/9163 https://github.com/pyca/pyopenssl/pull/1213 ``` File "/tmp/.mount_Electrig7PIy/usr/lib/python3.11/site-packages/pysatochip/certificate_validator.py", line 6, in import OpenSSL File "/tmp/.mount_Electrig7PIy/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/tmp/.mount_Electrig7PIy/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1556, in 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 ``` --- contrib/deterministic-build/requirements-hw.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/deterministic-build/requirements-hw.txt b/contrib/deterministic-build/requirements-hw.txt index 43d508e8310b..54a3c858d9c7 100644 --- a/contrib/deterministic-build/requirements-hw.txt +++ b/contrib/deterministic-build/requirements-hw.txt @@ -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