From d4b485160bf2f1aba381625d048259c2c299a7f3 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Wed, 5 Feb 2025 09:32:28 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=95=8A=EF=B8=8F=20Adds=20import=20after?= =?UTF-8?q?=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esp32/scripts/generate_cert_bundle.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esp32/scripts/generate_cert_bundle.py b/esp32/scripts/generate_cert_bundle.py index 2aca225..ffc2e19 100644 --- a/esp32/scripts/generate_cert_bundle.py +++ b/esp32/scripts/generate_cert_bundle.py @@ -28,6 +28,9 @@ try: from cryptography.hazmat.primitives import serialization except ImportError: env.Execute("$PYTHONEXE -m pip install cryptography") + from cryptography import x509 + from cryptography.hazmat.backends import default_backend + from cryptography.hazmat.primitives import serialization ca_bundle_bin_file = 'x509_crt_bundle.bin'