Uh oh!
There was an error while loading. Please reload this page.
Fix potential side-channel timing attack issue - #1375
Conversation
Rob-Hague
commented
Apr 16, 2024
What's the attack? The signature verification does not involve any private data, and in both cases we will drop the connection once the verification fails. What am I missing? |
scott-xu
commented
Apr 16, 2024
AFAK, the timing attack is based on enumerous failures. |
scott-xu
commented
Apr 17, 2024
https://github.com/openssh/openssh-portable/blob/88351eca17dcc55189991ba60e50819b6d4193c1/mac.c#L222 |
scott-xu
commented
Apr 17, 2024
I come up with this PR when read Chaos.Nacl project.
|
The PR fixes a potential side-channel timing attack issue when verify HMAC and verify DigitalSignature.