Skip to content

Commit 3bfdb0c

Browse files
committed
Bump python-jose to 3.4.*
1 parent ac8f263 commit 3bfdb0c

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

stubs/python-jose/@tests/stubtest_allowlist.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ jose.backends.CryptographyECKey
44
jose.backends.CryptographyHMACKey
55
jose.backends.CryptographyRSAKey
66
jose.backends.ECDSAECKey
7+
8+
# See https://github.com/mpdavis/python-jose/pull/372
9+
jose.jwt.utc_now

stubs/python-jose/jose/constants.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,5 @@ class Zips:
7070
SUPPORTED: set[str | None]
7171

7272
ZIPS: Zips
73+
74+
JWE_SIZE_LIMIT: int

stubs/python-jose/jose/utils.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ def base64url_decode(input: bytes) -> bytes: ...
1212
def base64url_encode(input: bytes) -> bytes: ...
1313
def timedelta_total_seconds(delta: timedelta) -> int: ...
1414
def ensure_binary(s: str | bytes) -> bytes: ...
15+
def is_pem_format(key: bytes) -> bool: ...
16+
def is_ssh_key(key: bytes) -> bool:

0 commit comments

Comments
 (0)