summaryrefslogtreecommitdiff
path: root/dev-python/django-allauth/files
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/django-allauth/files
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-python/django-allauth/files')
-rw-r--r--dev-python/django-allauth/files/fido2.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/dev-python/django-allauth/files/fido2.patch b/dev-python/django-allauth/files/fido2.patch
deleted file mode 100644
index 8d70c5234487..000000000000
--- a/dev-python/django-allauth/files/fido2.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From cae122759be28047727787e1eb4955c56553ede1 Mon Sep 17 00:00:00 2001
-From: Raymond Penners <raymond.penners@intenct.nl>
-Date: Tue, 20 May 2025 18:41:14 +0200
-Subject: [PATCH] fix(webauthn): fido2 v2 compatibility
-
----
- allauth/mfa/webauthn/internal/auth.py | 7 +++++--
- setup.cfg | 10 +++++-----
- 2 files changed, 10 insertions(+), 7 deletions(-)
-
-diff --git a/allauth/mfa/webauthn/internal/auth.py b/allauth/mfa/webauthn/internal/auth.py
-index d0751d7aa4..22bae81223 100644
---- a/allauth/mfa/webauthn/internal/auth.py
-+++ b/allauth/mfa/webauthn/internal/auth.py
-@@ -23,8 +23,11 @@
- from allauth.mfa.models import Authenticator
-
-
--fido2.features.webauthn_json_mapping.enabled = True
--
-+try:
-+ fido2.features.webauthn_json_mapping.enabled = True # type:ignore[attr-defined]
-+except AttributeError:
-+ # https://github.com/Yubico/python-fido2/blob/main/doc/Migration_1-2.adoc
-+ pass
-
- STATE_SESSION_KEY = "mfa.webauthn.state"
- EXTENSIONS = {"credProps": True}
---- a/setup.cfg 2025-04-03 07:48:54.000000000 -0000
-+++ b/setup.cfg 2025-06-16 17:24:37.557366540 -0000
-@@ -52,17 +52,17 @@
-
- [options.extras_require]
- mfa =
-- qrcode >= 7.0.0
-- fido2 >= 1.1.2
-+ qrcode >= 7.0.0,<9
-+ fido2 >= 1.1.2,<3
- openid =
-- python3-openid >= 3.0.8
-+ python3-openid >= 3.0.8,<4
- saml =
- python3-saml>=1.15.0,<2.0.0
- steam =
-- python3-openid >= 3.0.8
-+ python3-openid >= 3.0.8,<4
- socialaccount =
- requests-oauthlib >= 0.3.0
-- requests >= 2.0.0
-+ requests >= 2.0.0,<3
- pyjwt[crypto] >= 1.7
-
- [options.packages.find]