Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Releases: instructure/paseto

v2.0.2

25 Jun 17:40
Compare
Choose a tag to compare
  • Migrate away from sodiumoxide as it has become less, and less maintained not providing a stable secure base anymore. Migrate to supported rust-crypto projects. SodiumErrors will keep it's name, but now represents these replacements for "sodium".

v2.0.1

02 Mar 04:16
e03aeb6
Compare
Choose a tag to compare
  • Fix mistake where token builder would incorrectly force nbf/iat/exp fields.

v2.0.0

11 Jan 22:26
Compare
Choose a tag to compare
  • Change pae::pae to borrow a slice of slices (&[&[u8]]) instead of taking ownership of a Vec<Vec>.
  • High-level functions like validate_local_token and validate_public_token now take the key by reference.
  • The reference to key passed as argument to v1::public::public_paseto is not longer taken as mutable.
  • tokens::PasetoBuilder methods have been changed to only take references
  • Support for the time crate has been added with a feature, this should not be used in conjunction with chrono.
  • Create better error messages to hopefully be less user hostile.
  • update dependencies.
  • versions now have a "build number" to indicate what upstream version they track.

Small Bug Fixes + Updates

03 Dec 02:49
Compare
Choose a tag to compare

No fixes this releases. Just minor new features that should have been added in from the beginning.

  • Use newer github actions.
  • Remove Azure Pipelines.
  • Allow TokenBuilder to just need a public key for validation.
  • Make JSON Payload Validation public so anyone can use it.

v1.0.5 - Ring Upgrade

10 Aug 22:18
Compare
Choose a tag to compare

Upgrade ring to the latest 0.16 release, which is what most others are pulling in.

v1.0.4 - Upgrades

20 Jul 06:12
Compare
Choose a tag to compare

This upgrade contains upgrades to some cryptographic dependencies (openssl, ring, and untrusted), as well as is the first release after CI started running.

v1.0.3 - Fixing Sodiumoxide on OSX

01 Mar 20:16
Compare
Choose a tag to compare

This commit fixes sodiumoxide on osx causing segmentation faults. It also updates a few other dependencies since we were here anyway.

v1.0.2 - No More Unsafe!

07 Jan 21:32
Compare
Choose a tag to compare
  • Bump Dependencies to latest versions.
  • Use sodiumoxide over libsodium_ffi directly. (no more unsafe \o/)
  • Update to rust 2018 epoch.
  • Can no longer export SODIUM_BUILD_STATIC, and SODIUM_STATIC