diff --git a/requirements.txt b/requirements.txt index c2c385c9..e07f6554 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ signxml==2.9.0 ; python_version < '3.7' signxml ; python_version >= '3.7' lxml >= 4.2.1 -cryptography >= 3.4.8 +cryptography >= 3.4.8, <= 23.2.0 pyOpenSSL >= 22.1.0 certifi >= 2018.1.18 diff --git a/setup.py b/setup.py index d591be8b..f6ae644d 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ 'xmlsec >= 1.3.13', # apt update;apt install libxmlsec1-dev pkg-config -y 'lxml >= 4.2.1', 'cryptography >= 3.4.8', - 'pyOpenSSL >= 17.5.0', + 'pyOpenSSL >= 17.5.0 <= 23.2.0', 'certifi >= 2018.1.18', 'urllib3', 'Jinja2',