instructure / paseto

A paseto implementation in rust.
MIT License
150 stars 13 forks source link

v2.0.2, fix build, sodiumoxide -> rust-crypto #41

Closed Mythra closed 3 years ago

Mythra commented 3 years ago

fixes #40

Motivation (required)

sodiumoxide was becoming defunct, and also introduced some breaking changes in minor updates so we've switched to rust-crypto libraries which provide the same primitives (while still being well seen). these libraries also happen to be in pure rust which should be great for people actually building our crate as it means less dependencies that need a C compiler.

sodiumerrors now correspond to rust-crypto errors.

Test Plan (required)