Re:Hacker Unlocks ‘High Security’ Electronic Safes Without a...
by cmdrfred on Saturday August 13, 2016 @03:15PM
(#12282675)
Humor me, I think figured it out, run an identical "testPass()" function first and time it ('password' == 'password' if you will), then simply wait at least that length of time before acting on the result. As a bonus add a random delay after that so adversaries might waste time on isolating the randomness as you describe.
[ Parent
| on HN ]
Re:Hacker Unlocks ‘High Security’ Electronic Safes Without a...
by _asummers on Saturday August 13, 2016 @08:11PM
(#12283707)
If you really want to add some sort of randomness, make it based on the user input. That way your randomness depends on what you send and won't be able to be subtracted out. Or use constant time things (which is hard for the record!) and not have to deal with it.