Bug 126033
| Summary: | WebCrypto importKey should fail when requesting usages that are not allowed by key data | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, jiewen_tan, rob, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=164446 | ||
| Bug Depends on: | |||
| Bug Blocks: | 160883 | ||
Alexey Proskuryakov
We currently just intersect usages, and don't complain. A spec proposal suggests that the operation should fail when an importKey argument asks for something that's not allowed in key data (e.g. in JWK).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/27858490>
Jiewen Tan
The bug is resolved by Bug 164446.