Bug 171983

Summary: [WebCrypto] Do not report any operation error other than ones specified by the spec
Product: WebKit Reporter: Jiewen Tan <jiewen_tan>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, bfulgham, jiewen_tan, mcatanzaro, webkit-bug-importer, zan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jiewen Tan
Reported 2017-05-11 12:18:40 PDT
Generally speaking, in crypto we prefer not to report why an operation failed. For instance, in DSA, we should return false for any operation error.
Attachments
Jiewen Tan
Comment 1 2017-05-11 17:13:58 PDT
Michael Catanzaro
Comment 2 2017-05-22 16:22:30 PDT
Zan, you'll take care of making the corresponding changes in the GCrypt implementation?
Zan Dobersek
Comment 3 2017-05-23 05:42:31 PDT
(In reply to Michael Catanzaro from comment #2) > Zan, you'll take care of making the corresponding changes in the GCrypt > implementation? Yes.
Jiewen Tan
Comment 4 2017-06-02 11:46:24 PDT
Probably there is even no need for passing exceptionCallbacks to platformVerify. This change needs to address issues in both Apple and GTK+ ports.
Note You need to log in before you can comment on or make changes to this bug.