Tags: guillp/jwskate
Tags
change/polish (#47) * Move `encrypt` and `decrypt` methods to `SymmetricJwk` instead of base `Jwk`. Use an `enc` parameter to select the encryption alg, instead of `alg` (still accepted but deprecated). * separated `decrypt_with_password()` from `decrypt()`, which no longer accepts a password as key anymore. * add a `generate_key()` helper in each JWA wrapper * enhanced README with more examples
v0.8.0 * BREAKING CHANGE: rename all `jwk` parameters to `key`, since they can accept any `cryptography` key instance * add `Jwt.sign_arbitrary()` * updated deps * move SymmetricJwk specific code from `Jwk.generate()` to `SymmetricJwk.generate()` * JwsCompact.from_parts() doesn't accept a str as signature anymore
PreviousNext