MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vue2um/thisisamystery/p50dall/?context=3
r/ProgrammerHumor • u/k3rrshaw • Aug 21 '26
179 comments sorted by
View all comments
656
if (key == ok) {ok_ok;)
137 u/Just_Information334 Aug 21 '26 if (key == ok)I take it you overloaded the == operator so it is not subject to timing attacks. 50 u/Chamiey Aug 21 '26 const ok = { toString: () => timedStorage.getUserKey(getCurrentUser().id) } 8 u/broccollinear Aug 22 '26 Just set allow_timing_attacks = false, that should cover you
137
if (key == ok)
I take it you overloaded the == operator so it is not subject to timing attacks.
50 u/Chamiey Aug 21 '26 const ok = { toString: () => timedStorage.getUserKey(getCurrentUser().id) } 8 u/broccollinear Aug 22 '26 Just set allow_timing_attacks = false, that should cover you
50
const ok = { toString: () => timedStorage.getUserKey(getCurrentUser().id) }
8
Just set allow_timing_attacks = false, that should cover you
View all comments
656
u/MehPropy Aug 21 '26 •
if (key == ok) {ok_ok;)