From a41ff9a1bdfa9295f79490982afb4d352b871ec6 Mon Sep 17 00:00:00 2001 From: Callahan Kovacs Date: Thu, 2 May 2024 16:50:53 -0500 Subject: [PATCH] fix: set CRYPTOGRAPHY_OPENSSL_NO_LEGACY cryptography>=42.0 cannot load legacy algorithms on Ubuntu 20.04 for armhf, ppc64el, riscv64, and s390x See https://cryptography.io/en/latest/openssl/#legacy-provider-in-openssl-3-x Signed-off-by: Callahan Kovacs --- snap/snapcraft.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 1750609e86..70754e382e 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -16,6 +16,10 @@ assumes: environment: PATH: "$SNAP/libexec/snapcraft:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" LD_LIBRARY_PATH: "$SNAP/none" + # cryptography>=42.0 cannot load legacy algorithms on + # Ubuntu 20.04 for armhf, ppc64el, riscv64, and s390x + CRYPTOGRAPHY_OPENSSL_NO_LEGACY: "1" + apps: snapcraft: