|
|
|
|
|
by foo101
3396 days ago
|
|
Can you explain in what way is it easier to reason about separating the search operation from the validation operation? I can argue that it is easier to reason about simply hashing and then looking up because once hashed, the lookup does not leak any timing information, whereas in your solution the lookup does leak timing information. Can you refute my argument? |
|
If you give the system m, you can probably deduce H(m). If you can send candidates m, m', m'', etc. and compare the timing information of H(m), H(m'), H(m''), etc. you can learn some information about the hash being stored.
This still probably isn't exploitable (you'd need a practical preimage attack, at a minimum), but you're still leaking some knowledge from the timing leak of the comparison of the candidate hash with the stored hash.
With a split token approach, the verifier is totally unknown to the attacker. You can generate a valid selector from observing timing observations... and that's it. Game over. Find another way in the system.
If you have a 128-bit random string as your inputs, this will probably never be guessed.
It's easier to reason about the security consequences of no leak versus a minor, probably impractical leak.