pasetors icon indicating copy to clipboard operation
pasetors copied to clipboard

PASETOrs: PASETO tokens in pure Rust

Results 6 pasetors issues
Sort by recently updated
recently updated
newest added

Hello, @brycx . Your library is awesome. I hope I can use `pasetors` in my web app. Although there are libraries which already implement PASETO using javascript programming language, unfortunately...

I think allowing the keys to be serialized to and deserialized from PASERK strings would make sense. This would be a follow up to #23.

### What works perfectly and correctly Adding ["kid" (Wrapped PASERK)](https://github.com/paseto-standard/paseto-spec/blob/master/docs/02-Implementation-Guide/04-Claims.md#optional-footer-claims) field to footer through [`footer.add_aditional("kid", ...)`](https://docs.rs/pasetors/0.6.7/pasetors/footer/struct.Footer.html#method.add_additional) is **not** allowed. Adding ["wpk" (Wrapped PASERK)](https://github.com/paseto-standard/paseto-spec/blob/master/docs/02-Implementation-Guide/04-Claims.md#optional-footer-claims) field to footer through [`footer.add_aditional("wpk", ...)`](https://docs.rs/pasetors/0.6.7/pasetors/footer/struct.Footer.html#method.add_additional) is...

As per discussion in #98, the function signatures for above two types should define `message` to be `&str` to correctly capture the spec requirement of payloads being valid UTF-8 data....

Use [`cargo-semver-checks`](https://github.com/obi1kenobi/cargo-semver-checks) as part of CI, so we don't accidentally introduce breaking changes.

They seem to be have been updated in: https://github.com/paseto-standard/test-vectors/releases/tag/v1.3.0