d/p/0003: Temporary patch to fix openid failures to work
Pierre-Elliott Bécue
2 years ago
6 | 6 |
* Drop old python-django-allauth.lintian-overrides file
|
7 | 7 |
* Update lintian overrides
|
8 | 8 |
* Add Forwarded: not-needed to d/p/0001
|
9 | |
|
10 | |
-- Pierre-Elliott Bécue <peb@debian.org> Thu, 20 Jan 2022 00:15:55 +0100
|
|
9 |
* d/p/0003: Temporary patch to fix openid failures to work
|
|
10 |
|
|
11 |
-- Pierre-Elliott Bécue <peb@debian.org> Thu, 20 Jan 2022 00:27:57 +0100
|
11 | 12 |
|
12 | 13 |
django-allauth (0.46.0+ds-1) unstable; urgency=medium
|
13 | 14 |
|
0 | 0 |
From: =?utf-8?q?Pierre-Elliott_B=C3=A9cue?= <becue@crans.org>
|
1 | 1 |
Date: Tue, 12 Dec 2017 10:35:57 +0100
|
2 | 2 |
Subject: Remove all privacy breack links from documentation
|
|
3 |
|
3 | 4 |
Forwarded: not-needed
|
4 | |
|
5 | 5 |
---
|
6 | 6 |
README.rst | 22 ----------------------
|
7 | 7 |
1 file changed, 22 deletions(-)
|
|
0 |
From: Karthikeyan Singaravelan <tir.karthi@gmail.com>
|
|
1 |
Date: Thu, 20 Jan 2022 00:25:36 +0100
|
|
2 |
Subject: fix(openid): Use decodebytes instead of decodestring
|
|
3 |
Applied-Upstream: https://github.com/pennersr/django-allauth/commit/425dc774fb5d032204b92f0870c3802202259ad3
|
|
4 |
|
|
5 |
Co-authored-by: Raymond Penners <raymond.penners@intenct.nl>
|
|
6 |
---
|
|
7 |
AUTHORS | 1 +
|
|
8 |
allauth/socialaccount/providers/openid/utils.py | 2 +-
|
|
9 |
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
10 |
|
|
11 |
diff --git a/AUTHORS b/AUTHORS
|
|
12 |
index af7eb58..fe57748 100644
|
|
13 |
--- a/AUTHORS
|
|
14 |
+++ b/AUTHORS
|
|
15 |
@@ -94,6 +94,7 @@ Joshua Sorenson
|
|
16 |
Julen Ruiz Aizpuru
|
|
17 |
Justin Michalicek
|
|
18 |
Justin Pogrob
|
|
19 |
+Karthikeyan Singaravelan
|
|
20 |
Kevin Dice
|
|
21 |
Koichi Harakawa
|
|
22 |
Lee Semel
|
|
23 |
diff --git a/allauth/socialaccount/providers/openid/utils.py b/allauth/socialaccount/providers/openid/utils.py
|
|
24 |
index 7af285f..aa94c0f 100644
|
|
25 |
--- a/allauth/socialaccount/providers/openid/utils.py
|
|
26 |
+++ b/allauth/socialaccount/providers/openid/utils.py
|
|
27 |
@@ -102,7 +102,7 @@ class DBOpenIDStore(OIDStore):
|
|
28 |
for stored_assoc in stored_assocs:
|
|
29 |
assoc = OIDAssociation(
|
|
30 |
stored_assoc.handle,
|
|
31 |
- base64.decodestring(stored_assoc.secret.encode("utf-8")),
|
|
32 |
+ base64.decodebytes(stored_assoc.secret.encode("utf-8")),
|
|
33 |
stored_assoc.issued,
|
|
34 |
stored_assoc.lifetime,
|
|
35 |
stored_assoc.assoc_type,
|
0 | 0 |
0001-Remove-all-privacy-breack-links-from-documentation.patch
|
1 | 1 |
0002-Fixes-wrongly-encoded-characters-in-some-.po-files.patch
|
|
2 |
0003-fix-openid-Use-decodebytes-instead-of-decodestring.patch
|