What does the author mean about timing attacks on HMACs with Array.equals? Does HMAC leak info and is it subject to timing attacks if you HMAC on both sides before doing equality checks? Does he mean for e.g. session cookies?
So okay, if you're using HMAC where the user can provide the HMAC, this would be an issue (like session cookies), but it the user can only provide preimage (as in e.g. encrypting database column and wanting lookup) then this wouldn't be an issue, I don't think.
9 comments
[ 2.7 ms ] story [ 26.3 ms ] thread