Changes

Unreleased

Version 1.6.6

Released 2022-03-01

  • Fix bug on to_peer_paserk_id for v1/2 local key. #128

  • Add support for to_peer_paserk_id on v1/v3. #128

Version 1.6.5

Released 2022-01-20

  • Avoid re-encoding/decoding output from serializer. #118

Version 1.6.4

Released 2022-01-14

  • Fix bug on deserializing payload in local paseto. #114

Version 1.6.3

Released 2022-01-03

  • Add optional flag to docs dependencies. #109

  • Remove tool.poetry.extra from pyproject.toml. #109

  • Add pre-commit hooks for checking json, toml and yaml files. #108

Version 1.6.2

Released 2022-01-02

  • Introduce freezegun for test. #106

  • Add 2022 to copyright and license. #105

  • Add license information to PyPI. #104

Version 1.6.1

Released 2021-12-31

  • Refine github actions. #99

  • Use pytest-cov instead of coverage. #98

  • Refine pyproject.toml. #97

  • Refine tox.ini. #96

  • Update pytest requirement form ^5.2 to ^6.2. #91

Version 1.6.0

Released 2021-12-11

  • Migrate to poetry. #89

  • Update max line length to 128. #89

Version 1.5.0

Released 2021-11-24

  • Add support for aud verification. #86

  • Add to_peer_paserk_id to KeyInterface. #85

Version 1.4.0

Released 2021-11-22

  • Add is_secret to KeyInterface. #82

  • Disclose KeyInterface class. #81

  • Disclose Token class. #80

Version 1.3.0

Released 2021-11-20

  • Add support for nbf validation. #76

  • Add support for dict typed footer. #75

  • Add leeway for exp validation. #74

  • Add Paseto class. #72

  • Add support for exp claim. #71

Version 1.2.0

Released 2021-11-14

  • Refine README (Add CONTRIBUTING, etc.). #68

  • Introduce serializer/deserializer for payload. #67

  • Sync official test vectors. #64

Version 1.1.0

Released 2021-10-16

  • Add support for Python 3.10. #60

  • Add support for k2.seal and k4.seal. #57

  • Add py.typed. #56

Version 1.0.0

Released 2021-09-25

  • [Breaking Change] Remove str support for version. #53

  • [Breaking Change] Rename type of Key.new to purpose. #52

  • Add support for PASERK password-based key wrapping. #47

  • Add support for PASERK key wrapping. #46

Version 0.7.1

Released 2021-09-18

  • Make PASERK secret for Ed25519 compliant with PASERK spec. #44

Version 0.7.0

Released 2021-09-16

  • Add from_paserk to Key. #41

  • Add support for paserk lid. #40

  • Add support for paserk local. #40

  • Add to_paserk_id to KeyInterface. #39

  • Add to_paserk to KeyInterface. #38

  • Fix public key compression for v3.

Version 0.6.1

Released 2021-09-12

  • Add usage examples and related tests. #36

Version 0.6.0

Released 2021-09-11

  • Add tests for sample code. #34

  • Allow int type version for Key.new. #33

Version 0.5.0

Released 2021-09-11

  • Add API reference about Token. #30

  • Add support for multiple keys on decode. #29

Version 0.4.0

Released 2021-09-10

  • Add tests for public and fix error message. #26

  • Add tests for local and fix error message. #25

  • Add tests for Token. #24

  • Add tests for Key and fix checking argument. #22

  • Add docstrings for KeyInterface. #21

Version 0.3.2

Released 2021-09-07

  • Add API reference. #17

Version 0.3.1

Released 2021-09-06

  • Fix readthedocs build error. #13

Version 0.3.0

Released 2021-09-06

  • Add docs. #10

  • Add Key.from_asymmetric_key_params. #8

  • Make NotSupportedError public. #8

Version 0.2.0

Released 2021-09-05

  • Add Token object as a response of decode(). #6

Version 0.1.0

Released 2021-09-05

  • First public preview release.