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: |