Skip to content

Commit

Permalink
side channel discussion
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Sep 29, 2024
1 parent 99b57ff commit f7852b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cryptography/aes-cbc-poa/DESCRIPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ For the first block, this is the IV, but not for the rest!
**FUN FACT:**
The only way to prevent a Padding Oracle Attack is to avoid having a Padding Oracle.
Depending on the application, this can be surprisingly tricky: a failure state is hard to mask completely from the user/attacker of the application, and for some applications, the padding failure is the only source of an error state!
Moreover, even if the error itself is hidden from the user/attacker, it's often _inferrable_ indirectly (e.g., by detecting timing differences between the padding error and padding success cases).

0 comments on commit f7852b9

Please sign in to comment.