From 702b3997a5c658ee70576ef45686f67130ca73c0 Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Tue, 15 Dec 2020 22:50:54 -0300 Subject: [PATCH 1/2] requirements: Update 'cryptography' Changelog: - 3.3.1 (2020-12-09): https://github.com/pyca/cryptography/blob/3.3.1/CHANGELOG.rst#331---2020-12-09 - 3.3 (2020-12-08): https://github.com/pyca/cryptography/blob/3.3.1/CHANGELOG.rst#33---2020-12-08 - 3.2.1 (2020-10-27): https://github.com/pyca/cryptography/blob/3.3.1/CHANGELOG.rst#321---2020-10-27 Code diff: https://github.com/pyca/cryptography/compare/3.2...3.3.1 --- requirements/base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/base.txt b/requirements/base.txt index 27baa355..b4e6bb8e 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -2,7 +2,7 @@ # note: it is mandatory to register all dependencies of the required packages. # Required packages: -cryptography==3.2 +cryptography==3.3.1 defusedxml==0.6.0 jsonschema==3.2.0 lxml==4.5.0 From cba4233ae0ccbb8a51432dba39aa1289cfa98e30 Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Tue, 15 Dec 2020 22:59:23 -0300 Subject: [PATCH 2/2] libs.crypto_utils: Fix test broken by 'cryptography' update The URL of Cryptography's FAQ page had changed. --- tests/test_libs_crypto_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_libs_crypto_utils.py b/tests/test_libs_crypto_utils.py index 95fb7f05..c4880bee 100644 --- a/tests/test_libs_crypto_utils.py +++ b/tests/test_libs_crypto_utils.py @@ -846,7 +846,7 @@ def test_load_pem_x509_cert_fail_value_error(self) -> None: self.assertEqual( cm.exception.args, ("Unable to load certificate. See " - "https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file " + "https://cryptography.io/en/latest/faq.html#why-can-t-i-import-my-pem-file " "for more details.", )) def test_x509_cert_der_to_pem_pem_to_der_ok_1(self) -> None: