You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I chose the work "mitigate" here because you're right; length hiding does not prevent the attack, but it does slow it. How much it slows the attack is unclear to me - I'd have to work out the statistics of how many more requests an attacker would need to make in order to remove the noise added by the length hiding. I'll see if I can make this more clear in the README.
FWIW, the paper's authors do recommend length hiding to slow attacks, but it's low on the list of recommendations and the paper suggests it's not all that effective. It's hard to know whether it's worth the added complexity and slight performance hit without knowing how much it would slow down an attacker. To totally make up some numbers, if length hiding makes an attack 2x slower, it might not be worth it, but if it makes it 10,000x slower, that could justify it.
Length hiding cannot be used to mitigate BREACH:
tl;dr: don't try to hide the length. It won't help defend against more sophisticated forms of the attack
The real mitigations are:
The text was updated successfully, but these errors were encountered: