On Dhole Moments, there’s a nice post about a recent Lobste.rs password reset vulnerability. Via the post, I learned about a simple technique called split tokens for making your password reset token validation more resistant to timing attacks. I wanted to poke at it a bit and ended up creating a tiny Clojure library for generating and validating split tokens, called split-token. Check it out if you’re into generating random tokens!
Split tokens in Clojure
Comments or questions? Send me an e-mail.
- Previous post: Enjoying the silence
- Next post: Yearnote 2021
Want to get these articles to your inbox? Subscribe to the newsletter: