pypomes-jwt 1.2.1__tar.gz → 1.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pypomes-jwt might be problematic. Click here for more details.
- {pypomes_jwt-1.2.1 → pypomes_jwt-1.2.2}/PKG-INFO +3 -3
- {pypomes_jwt-1.2.1 → pypomes_jwt-1.2.2}/pyproject.toml +3 -3
- {pypomes_jwt-1.2.1 → pypomes_jwt-1.2.2}/src/pypomes_jwt/jwt_pomes.py +2 -2
- {pypomes_jwt-1.2.1 → pypomes_jwt-1.2.2}/.gitignore +0 -0
- {pypomes_jwt-1.2.1 → pypomes_jwt-1.2.2}/LICENSE +0 -0
- {pypomes_jwt-1.2.1 → pypomes_jwt-1.2.2}/README.md +0 -0
- {pypomes_jwt-1.2.1 → pypomes_jwt-1.2.2}/src/pypomes_jwt/__init__.py +0 -0
- {pypomes_jwt-1.2.1 → pypomes_jwt-1.2.2}/src/pypomes_jwt/jwt_config.py +0 -0
- {pypomes_jwt-1.2.1 → pypomes_jwt-1.2.2}/src/pypomes_jwt/jwt_registry.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pypomes_jwt
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: A collection of Python pomes, penyeach (JWT module)
|
|
5
5
|
Project-URL: Homepage, https://github.com/TheWiseCoder/PyPomes-JWT
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/TheWiseCoder/PyPomes-JWT/issues
|
|
@@ -10,8 +10,8 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Requires-Python: >=3.12
|
|
13
|
-
Requires-Dist: cryptography>=45.0.
|
|
13
|
+
Requires-Dist: cryptography>=45.0.2
|
|
14
14
|
Requires-Dist: flask>=3.1.1
|
|
15
15
|
Requires-Dist: pyjwt>=2.10.1
|
|
16
|
-
Requires-Dist: pypomes-core>=2.2
|
|
16
|
+
Requires-Dist: pypomes-core>=2.3.2
|
|
17
17
|
Requires-Dist: pypomes-db>=2.2.1
|
|
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "pypomes_jwt"
|
|
9
|
-
version = "1.2.
|
|
9
|
+
version = "1.2.2"
|
|
10
10
|
authors = [
|
|
11
11
|
{ name="GT Nunes", email="wisecoder01@gmail.com" }
|
|
12
12
|
]
|
|
@@ -19,10 +19,10 @@ classifiers = [
|
|
|
19
19
|
"Operating System :: OS Independent"
|
|
20
20
|
]
|
|
21
21
|
dependencies = [
|
|
22
|
-
"cryptography>=45.0.
|
|
22
|
+
"cryptography>=45.0.2",
|
|
23
23
|
"Flask>=3.1.1",
|
|
24
24
|
"PyJWT>=2.10.1",
|
|
25
|
-
"pypomes_core>=2.2
|
|
25
|
+
"pypomes_core>=2.3.2",
|
|
26
26
|
"pypomes_db>=2.2.1"
|
|
27
27
|
]
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import jwt
|
|
2
2
|
import sys
|
|
3
|
-
from base64 import
|
|
3
|
+
from base64 import b64decode
|
|
4
4
|
from flask import Request, Response, request
|
|
5
5
|
from logging import Logger
|
|
6
6
|
from pypomes_core import exc_format
|
|
@@ -197,7 +197,7 @@ def jwt_validate_token(errors: list[str] | None,
|
|
|
197
197
|
logger=logger)
|
|
198
198
|
if recs:
|
|
199
199
|
token_alg = recs[0][0]
|
|
200
|
-
token_decoder =
|
|
200
|
+
token_decoder = b64decode(recs[0][1])
|
|
201
201
|
elif op_errors:
|
|
202
202
|
if logger:
|
|
203
203
|
logger.error(msg=f"Error retrieving the token's decoder: {'; '.join(op_errors)}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|