Consider switching to ring
for consistency with axum-login
#21
maxcountryman
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently went through the exercise of putting together a crate for session-based user authentication and in doing that decided to use
ring
for HMAC. (I did this without thinking too much about it, since I've previously usedring
in other projects.)However,
axum-extra
(used foraxum-sessions
) uses thecookie
crate which in turn uses thehmac
crate. Previously, it looks likecookie
usedring
but it's unclear why the decision was made to move away fromring
.I should point out that this is not my area of expertise. I've chosen
ring
previously based on the apparent consensus that it's one of the premiere cryptographic crates with the primary difference betweenring
and the RustCrypto family being that parts ofring
are not implemented in Rust (e.g.ring
derives from BoringSSL).Beta Was this translation helpful? Give feedback.
All reactions