jwcrypto icon indicating copy to clipboard operation
jwcrypto copied to clipboard

Implements JWK,JWS,JWE specifications using python-cryptography

Results 16 jwcrypto issues
Sort by recently updated
recently updated
newest added

## Description This PR intends to add quality tools ([flake8](https://flake8.pycqa.org/en/latest/), [black](https://black.readthedocs.io/en/stable/), [pyupgrade](https://github.com/asottile/pyupgrade), [mypy](https://mypy.readthedocs.io/en/stable/)), locally using [pre-commit](https://pre-commit.com/) and in the CI. ## Technical details - Add `flake8` and run the tool...

I'm trying to decrypt a JWE with a symmetric key, with`enc=A256GCM` and `alg=A256KW`, following the documentation I get something like this: ```python # make JWK aes_key_bytes = # raw bytes...

A common use-case when implementing rekeying or testing is to be able to generate a similar key to an already existing one. This PR adds a `JWK.generate_similar(key)` classmethod to support...

Ubuntu 20.04 runners are not available anymore. Upudates runner version to 24.04 and 'run-on-arch-action' to latest avaiable version (3.0.1).

When importing an EC private key from pem and using that to add_signature to a jws token, cryptography ECPrivateKey complains that the sign method only takes 2 positional arguments but...

Hi, We are a research group dedicated to helping developers build secure applications. We have developed a cryptographic misuse detector that focuses on the secure implementation and use of JSON...

enhancement
help wanted
Easy Fix