Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions stubs/python-jose/@tests/stubtest_allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ jose.backends.CryptographyECKey
jose.backends.CryptographyHMACKey
jose.backends.CryptographyRSAKey
jose.backends.ECDSAECKey

# See https://github.com/mpdavis/python-jose/pull/372
jose.jwt.utc_now
2 changes: 1 addition & 1 deletion stubs/python-jose/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version = "3.3.*"
version = "3.4.*"
upstream_repository = "https://github.com/mpdavis/python-jose"
requires = ["types-pyasn1"] # excluding pyrsa, cryptography until typing is available
2 changes: 2 additions & 0 deletions stubs/python-jose/jose/constants.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,5 @@ class Zips:
SUPPORTED: set[str | None]

ZIPS: Zips

JWE_SIZE_LIMIT: int
Comment thread
sobolevn marked this conversation as resolved.
Outdated
2 changes: 2 additions & 0 deletions stubs/python-jose/jose/utils.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ def base64url_decode(input: bytes) -> bytes: ...
def base64url_encode(input: bytes) -> bytes: ...
def timedelta_total_seconds(delta: timedelta) -> int: ...
def ensure_binary(s: str | bytes) -> bytes: ...
def is_pem_format(key: bytes) -> bool: ...
def is_ssh_key(key: bytes) -> bool: ...