From 1092732246b39cb0c49c83357924c02730b13ccf Mon Sep 17 00:00:00 2001 From: Maxime Bombar <maxime.bombar@cwi.nl> Date: Fri, 16 Aug 2024 23:25:10 +0200 Subject: [PATCH] Don't try to load legacy OpenSSL algorithms --- cpasswords/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpasswords/__init__.py b/cpasswords/__init__.py index e69de29..ae8ecfe 100644 --- a/cpasswords/__init__.py +++ b/cpasswords/__init__.py @@ -0,0 +1,4 @@ +import os + +if os.environ.get("CRYPTOGRAPHY_OPENSSL_NO_LEGACY") is None: + os.environ["CRYPTOGRAPHY_OPENSSL_NO_LEGACY"]="1" -- GitLab