python3-cryptography: upgrade 36.0.2 -> 37.0.1

Drop backported fix-leak-metric.patch.

Adjust versions of crate components.

(From OE-Core rev: 9a9b172da07c719aff3630bd25ec859e57f246f4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2022-05-05 07:04:46 +02:00
committed by Richard Purdie
parent 990b071087
commit f6a029b9de
4 changed files with 123 additions and 166 deletions

View File

@@ -1,4 +1,4 @@
From ec8d3f3c61280c8140b34ed1479baef5e706f064 Mon Sep 17 00:00:00 2001
From d41203b9b79f5edc2d33b0d62921822294dfaa6b Mon Sep 17 00:00:00 2001
From: Tim Orling <tim.orling@konsulko.com>
Date: Fri, 14 Jan 2022 22:02:25 -0800
Subject: [PATCH] Cargo.toml: specify pem version
@@ -9,23 +9,21 @@ pem = { version: "1.0.2"}
Upstream-Status: Pending
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
src/rust/Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml
index 617167d0..174eaa80 100644
index d17245d..f8f6416 100644
--- a/src/rust/Cargo.toml
+++ b/src/rust/Cargo.toml
@@ -9,7 +9,7 @@ publish = false
lazy_static = "1"
pyo3 = { version = "0.15.1" }
pyo3 = { version = "0.15.2" }
asn1 = { version = "0.8.7", default-features = false, features = ["derive"] }
-pem = "1.0"
+pem = { version = "1.0.2" }
chrono = { version = "0.4", default-features = false, features = ["alloc", "clock"] }
ouroboros = "0.13"
ouroboros = "0.15"
--
2.30.2

View File

@@ -1,36 +0,0 @@
Trigger hashlib initialisation so that the test_create_certificate_with_extensions
test doesn't fail.
Upstream-Status: Backport
Signed-off-by: Ross Burton <ross.burton@arm.com>
From dc989d563ab6a078651160e5e6d4ee3df8cb08d7 Mon Sep 17 00:00:00 2001
From: Alex Gaynor <alex.gaynor@gmail.com>
Date: Thu, 7 Apr 2022 03:15:09 -0400
Subject: [PATCH] Added Ubuntu Jammy to CI (#7047)
* Added Ubuntu Jammy to CI
* try thing
---
.github/workflows/ci.yml | 1 +
docs/installation.rst | 2 +-
tests/hazmat/backends/test_openssl_memleak.py | 3 +++
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/hazmat/backends/test_openssl_memleak.py b/tests/hazmat/backends/test_openssl_memleak.py
index 835c9256a6..2605566bd5 100644
--- a/tests/hazmat/backends/test_openssl_memleak.py
+++ b/tests/hazmat/backends/test_openssl_memleak.py
@@ -82,8 +82,11 @@ def free(ptr, path, line):
assert result == 1
# Trigger a bunch of initialization stuff.
+ import hashlib
from cryptography.hazmat.backends.openssl.backend import backend
+ hashlib.sha256()
+
start_heap = set(heap)
try: