All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Breaking changes:
decode
now borrows the XQR instead of taking ownership of it- This allows the XQR to be reused after decoding
encode
takes an issuer rather than key idfetch_public_key
takes an issuer in addition to key id- This allows the issuer to be used to fetch the public key and look up by key id
- Change from
jwt-simple
tojwtk
- Add
CONTRIBUTING.md
andCODE_OF_CONDUCT.md
for community guidelines - Breaking change:
encode
now takes avalid_for
argument to set how long the token is valid for- This can be set to
None
to make the token valid forever
- This can be set to
- Add
fetch_public_key
to fetch a public key based on a key id - Add
XQR.get_key_id
to get the key id from a JWT
encode
method to create a new XQRdecode
method to decode an XQRgenerate_key_pair
method to generate a new ES256 key pair