summaryrefslogtreecommitdiff
path: root/dev-python/python-jose/files
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/python-jose/files
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/python-jose/files')
-rw-r--r--dev-python/python-jose/files/python-jose-3.5.0-test-failure.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/python-jose/files/python-jose-3.5.0-test-failure.patch b/dev-python/python-jose/files/python-jose-3.5.0-test-failure.patch
new file mode 100644
index 000000000000..f3ed737bfb66
--- /dev/null
+++ b/dev-python/python-jose/files/python-jose-3.5.0-test-failure.patch
@@ -0,0 +1,22 @@
+Appears to be cryptography related. Works with and without the patch for
+cryptography-45.0.6
+
+From 7c0e4c6640bdc9cd60ac66d96d5d90f4377873db Mon Sep 17 00:00:00 2001
+From: dotlambda <github@dotlambda.de>
+Date: Tue, 21 Oct 2025 20:29:01 -0700
+Subject: [PATCH] fix test_incorrect_public_key_hmac_signing
+
+It used to fail with
+
+ TypeError: curve must be an EllipticCurve instance
+--- a/tests/algorithms/test_EC.py
++++ b/tests/algorithms/test_EC.py
+@@ -235,7 +235,7 @@ def test_incorrect_public_key_hmac_signing():
+ def b64(x):
+ return base64.urlsafe_b64encode(x).replace(b"=", b"")
+
+- KEY = CryptographyEc.generate_private_key(CryptographyEc.SECP256R1)
++ KEY = CryptographyEc.generate_private_key(CryptographyEc.SECP256R1(), CryptographyEc.SECP256R1)
+ PUBKEY = KEY.public_key().public_bytes(
+ encoding=serialization.Encoding.OpenSSH,
+ format=serialization.PublicFormat.OpenSSH,