This repository has been archived by the owner on May 15, 2020. It is now read-only.
Password hash comparison is insecure and vulnerable to timing attacks #76
Labels
bug
Something isn't working
TL;DR This function is insecure
Why?
The timing of the string comparison is vulnerable to timing attacks. The response time reveals how many consecutive bytes match before a byte isn't found.
Solution
See https://stackoverflow.com/questions/20663468/secure-compare-of-strings-in-go
The text was updated successfully, but these errors were encountered: