RESOLVED INVALID193153
[WebCrypto] AES-CBC should perform padding check after decryptions
https://bugs.webkit.org/show_bug.cgi?id=193153
Summary [WebCrypto] AES-CBC should perform padding check after decryptions
Jiewen Tan
Reported 2019-01-04 12:19:44 PST
AES-CBC should perform padding check after decryptions as suggested by Decrypt Step 3.-5. of https://www.w3.org/TR/WebCryptoAPI/#aes-cbc-operations.
Attachments
Jiewen Tan
Comment 1 2019-01-04 12:53:32 PST
Wait, I am wrong about this bug. I believe CommonCrypto handles all those steps for us. If there is a padding issue, it should inform us. Otherwise, we treat the results as the plaintext without padding.
Note You need to log in before you can comment on or make changes to this bug.