python-jose
python-jose copied to clipboard
A JOSE implementation in Python
When using `python-jose[cryptography]` such a warning appears: ```shell .../python3.8/site-packages/jose/backends/cryptography_backend.py:23: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes ```
Hi, came across an issue, say if I use only numbers while signing JWS: ```python signed = jws.sign({'a': 'b'}, '123456', algorithm='HS256') ``` Works fine. Now when I want to verify...
PyJWT had the ability to register new Algorithms. I highly recommend that this be added as I would like to add additional algorithms. One primary example is implementing BLAKE2 which...
This is because update to dependencies breaks projects with conflicting dependents
### Note: This PR description is not yet finished, and I may rewrite some of these commits, so if you pull this branch, beware that you may need to rebase...
Hi! I am curious about possibility to replace a standard json library with [orjson](https://github.com/ijl/orjson). It looks promising for me from the perspective of speed and robustness of data serialization. What...
I am using this snippet to allow a custom JSON encoder to be used (which is patching parts of python-jose): ```python from jose import jws, jwt from jose.utils import base64url_encode...
The API reference pages such as https://python-jose.readthedocs.io/en/latest/jws/api.html are empty. Maybe something is messed up in the Sphinx configuration?
CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes from jose import jwt /opt/hostedtoolcache/Python/3.8.7/x64/lib/python3.8/site-packages/jose/jwt.py:13: in from jose import jws /opt/hostedtoolcache/Python/3.8.7/x64/lib/python3.8/site-packages/jose/jws.py:11: in from jose import jwk /opt/hostedtoolcache/Python/3.8.7/x64/lib/python3.8/site-packages/jose/jwk.py:9: in...