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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jiewen Tan
<rdar://problem/32145895>
Michael Catanzaro
Zan, you'll take care of making the corresponding changes in the GCrypt implementation?
Zan Dobersek
(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
Probably there is even no need for passing exceptionCallbacks to platformVerify. This change needs to address issues in both Apple and GTK+ ports.