From c485f4ed500592dffcd82285cbb84986397b422b Mon Sep 17 00:00:00 2001 From: Florian Bach Date: Mon, 16 May 2022 07:13:41 +0200 Subject: [PATCH] Update CI for new oscrypto version This forces the CI on Ubuntu 22.04 to use oscrypto newer than 1.3.0. Such a version does not yet exist so the CI will still fail, but once that update is released, the CI will immediately start working again without manual intervention. --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1444ec7..a34b876 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -55,12 +55,13 @@ jobs: - name: Install dependencies run: | # Require cryptography >= 3.1 because in 3.0 and below, the backend param in load_key_and_certificates was still required. - pip3 install freezegun lxml pycryptodome rsa oscrypto "cryptography>=3.1" + # Require oscrypto > 1.3.0 because all versions until 1.3.0 had no (or broken) OpenSSL 3 support. + pip3 install freezegun lxml pycryptodome rsa "oscrypto>1.3.0" "cryptography>=3.1" # Install Python2 stuff curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py sudo apt install python2 python2 get-pip.py - pip2 install freezegun mock lxml pycryptodome "rsa<=4.3" oscrypto cryptography==3.1 + pip2 install freezegun mock lxml pycryptodome "rsa<=4.3" "oscrypto>1.3.0" cryptography==3.1 - name: Run tests (Python 3) run: |