pypomes-jwt 1.2.1__py3-none-any.whl → 1.2.2__py3-none-any.whl

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/jwt_pomes.py CHANGED
@@ -1,6 +1,6 @@
1
1
  import jwt
2
2
  import sys
3
- from base64 import urlsafe_b64decode
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 = urlsafe_b64decode(recs[0][1])
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)}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypomes_jwt
3
- Version: 1.2.1
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.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.9
16
+ Requires-Dist: pypomes-core>=2.3.2
17
17
  Requires-Dist: pypomes-db>=2.2.1
@@ -0,0 +1,8 @@
1
+ pypomes_jwt/__init__.py,sha256=NZzjWKnhjxNuoE32V6soKo9sG5ypmt25V0mBAh3rAIs,793
2
+ pypomes_jwt/jwt_config.py,sha256=mtihd58_O00FuFXcNBKsabftG6UHu3Cj24i6cZXoskc,3096
3
+ pypomes_jwt/jwt_pomes.py,sha256=e2UUHjsLnLAjNGdSQefHy90xhkwrIcEen63nGR6xc_4,23871
4
+ pypomes_jwt/jwt_registry.py,sha256=QJBrqm38N8mZiWi2PDii7jOKL6xdQkYGYmdEv-TA5Rs,22562
5
+ pypomes_jwt-1.2.2.dist-info/METADATA,sha256=z0VYKAptePGXxvt4IUQ6iXIaoeH97BGlRUU8YroCRkU,660
6
+ pypomes_jwt-1.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
7
+ pypomes_jwt-1.2.2.dist-info/licenses/LICENSE,sha256=NdakochSXm_H_-DSL_x2JlRCkYikj3snYYvTwgR5d_c,1086
8
+ pypomes_jwt-1.2.2.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- pypomes_jwt/__init__.py,sha256=NZzjWKnhjxNuoE32V6soKo9sG5ypmt25V0mBAh3rAIs,793
2
- pypomes_jwt/jwt_config.py,sha256=mtihd58_O00FuFXcNBKsabftG6UHu3Cj24i6cZXoskc,3096
3
- pypomes_jwt/jwt_pomes.py,sha256=-uTLk9Zvy81iFVWDmCgEKWwn9sUZpa3bPwLT9gsAgt0,23887
4
- pypomes_jwt/jwt_registry.py,sha256=QJBrqm38N8mZiWi2PDii7jOKL6xdQkYGYmdEv-TA5Rs,22562
5
- pypomes_jwt-1.2.1.dist-info/METADATA,sha256=P1EG-gd9iCLqRuwEc5OVgJEJFaazF1AR0SVDV3hVhb0,660
6
- pypomes_jwt-1.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
7
- pypomes_jwt-1.2.1.dist-info/licenses/LICENSE,sha256=NdakochSXm_H_-DSL_x2JlRCkYikj3snYYvTwgR5d_c,1086
8
- pypomes_jwt-1.2.1.dist-info/RECORD,,