instructure / paseto

A paseto implementation in rust.
MIT License
151 stars 14 forks source link

Don't take a mutable reference in v1 public_paseto #22

Closed vbfox closed 4 years ago

vbfox commented 4 years ago

Motivation

v1::public::public_paseto was taking the key parameter as a mutable reference while a non-mutable one is enough.

Test Plan

cargo test

Next Steps

⚠ Semver breaking ⚠

Mythra commented 4 years ago

Thanks for this PR! Can you rebase it on master now so it can be merged? Thank You!

vbfox commented 4 years ago

@SecurityInsanity rebased

Mythra commented 4 years ago

Thank you!