pypomes-jwt 0.4.7__py3-none-any.whl → 0.4.8__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
@@ -14,13 +14,13 @@ JWT_ACCESS_MAX_AGE: Final[int] = env_get_int(key=f"{APP_PREFIX}_JWT_ACCESS_MAX_A
14
14
  def_value=3600)
15
15
  JWT_REFRESH_MAX_AGE: Final[int] = env_get_int(key=f"{APP_PREFIX}_JWT_REFRESH_MAX_AGE",
16
16
  def_value=43200)
17
- JWT_HS_SECRET_KEY: Final[bytes] = env_get_bytes(key=f"{APP_PREFIX}JWT_HS_SECRET_KEY",
17
+ JWT_HS_SECRET_KEY: Final[bytes] = env_get_bytes(key=f"{APP_PREFIX}_JWT_HS_SECRET_KEY",
18
18
  def_value=token_bytes(32))
19
19
  # must point to 'jwt_service()' below
20
20
  JWT_ENDPOINT_URL: Final[str] = env_get_str(key=f"{APP_PREFIX}_JWT_ENDPOINT_URL")
21
21
 
22
- __priv_key: str = env_get_str(key=f"{APP_PREFIX}JWT_RSA_PRIVATE_KEY")
23
- __pub_key: str = env_get_str(key=f"{APP_PREFIX}JWT_RSA_PUBLIC_KEY")
22
+ __priv_key: str = env_get_str(key=f"{APP_PREFIX}_JWT_RSA_PRIVATE_KEY")
23
+ __pub_key: str = env_get_str(key=f"{APP_PREFIX}_JWT_RSA_PUBLIC_KEY")
24
24
  if not __priv_key or not __pub_key:
25
25
  (__priv_key, __pub_key) = crypto_generate_rsa_keys(key_size=2048)
26
26
  JWT_RSA_PRIVATE_KEY: Final[str] = __priv_key
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pypomes_jwt
3
- Version: 0.4.7
3
+ Version: 0.4.8
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
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
12
12
  Requires-Python: >=3.10
13
13
  Requires-Dist: pip>=24.2
14
14
  Requires-Dist: pyjwt>=2.9.0
15
- Requires-Dist: pypomes-core>=1.5.1
15
+ Requires-Dist: pypomes-core>=1.5.2
16
16
  Requires-Dist: pypomes-crypto>=0.2.9
17
17
  Requires-Dist: setuptools>=75.1.0
18
18
  Requires-Dist: wheel>=0.44.0
@@ -0,0 +1,7 @@
1
+ pypomes_jwt/__init__.py,sha256=wIbTPmnxyGFuSdawdyglNn7GVKEvPZ_57MF9HBbWclc,952
2
+ pypomes_jwt/jwt_data.py,sha256=g8wnWYI7bueCIuK67eW2Uy21ALYk5RbLigUHwljjzt4,17496
3
+ pypomes_jwt/jwt_pomes.py,sha256=j-JvK-neQ4bCWcFVk6jfCRoGRQUjDixs6PVfdvnICS8,10541
4
+ pypomes_jwt-0.4.8.dist-info/METADATA,sha256=xK6xa5JRtYwPuFGOBFSVcr96t0A03SkfZbJgIWwcpNk,687
5
+ pypomes_jwt-0.4.8.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
6
+ pypomes_jwt-0.4.8.dist-info/licenses/LICENSE,sha256=NdakochSXm_H_-DSL_x2JlRCkYikj3snYYvTwgR5d_c,1086
7
+ pypomes_jwt-0.4.8.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- pypomes_jwt/__init__.py,sha256=wIbTPmnxyGFuSdawdyglNn7GVKEvPZ_57MF9HBbWclc,952
2
- pypomes_jwt/jwt_data.py,sha256=g8wnWYI7bueCIuK67eW2Uy21ALYk5RbLigUHwljjzt4,17496
3
- pypomes_jwt/jwt_pomes.py,sha256=z8T28KRL09mk3wg3weU3F7SBE6pRapB6T9zmlq9Rv1U,10538
4
- pypomes_jwt-0.4.7.dist-info/METADATA,sha256=OyqPFEIyfKvw4FtnawyNzwx81vLITmcArlS3Y8AF8VU,687
5
- pypomes_jwt-0.4.7.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
6
- pypomes_jwt-0.4.7.dist-info/licenses/LICENSE,sha256=NdakochSXm_H_-DSL_x2JlRCkYikj3snYYvTwgR5d_c,1086
7
- pypomes_jwt-0.4.7.dist-info/RECORD,,