WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
227810
[WebCrypto] deriveBits() incorrectly throws for PBKDF2 algorithm when the password is empty
https://bugs.webkit.org/show_bug.cgi?id=227810
Summary
[WebCrypto] deriveBits() incorrectly throws for PBKDF2 algorithm when the pas...
Chris Dumez
Reported
2021-07-08 12:43:29 PDT
deriveBits() incorrectly throws for PBKDF2 algorithm when the password is empty. This is causing Safari to fail subtests in the following WPT test: -
https://wpt.live/WebCryptoAPI/derive_bits_keys/pbkdf2.https.any.html?5001-6000
Empty passwords are supported by both Chrome and Firefox.
Attachments
Patch
(962.34 KB, patch)
2021-07-08 12:48 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2021-07-08 12:48:51 PDT
Created
attachment 433155
[details]
Patch
Chris Dumez
Comment 2
2021-07-09 09:14:15 PDT
I know the patch is over 900k but the code change is actually 3 lines. The rest is tests rebaselines as this causes a LOT of subtests to start passing :)
Yusuke Suzuki
Comment 3
2021-07-09 09:56:55 PDT
Comment on
attachment 433155
[details]
Patch r=me
EWS
Comment 4
2021-07-09 10:33:02 PDT
Committed
r279788
(
239555@main
): <
https://commits.webkit.org/239555@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 433155
[details]
.
Radar WebKit Bug Importer
Comment 5
2021-07-09 10:34:19 PDT
<
rdar://problem/80383544
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug