Bug 265315
| Summary: | X25519 raw keys should be always imported as public | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Javier Fernandez <jfernandez> |
| Component: | WebCore Misc. | Assignee: | Javier Fernandez <jfernandez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | jfernandez, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Javier Fernandez
When importing X25519 keys in raw format we are assuming that if the key is non-extractable, it should be imported as private key. The spec states that the key type must be set to 'public" when importing it in 'raw' format:
https://wicg.github.io/webcrypto-secure-curves/#x25519-operations
"5. Set the [[type]] internal slot of key to "public"
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Javier Fernandez
Pull request: https://github.com/WebKit/WebKit/pull/20873
EWS
Committed 271210@main (a4e364149581): <https://commits.webkit.org/271210@main>
Reviewed commits have been landed. Closing PR #20873 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/118880829>