[Webkit-unassigned] [Bug 233704] support importing compressed EC keys in webcrypto

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 1 08:14:10 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=233704

--- Comment #1 from Filip Skokan <panva.ip at gmail.com> ---
Likewise, same issue, when using the raw keyFormat

const pub = new Uint8Array([2, 251, 203, 124, 105, 238, 28, 96, 87, 155, 231, 163, 52, 19, 72, 120, 217, 197, 197, 191, 53, 213, 82, 218, 182, 60, 1, 64, 57, 126, 209, 76, 239, 99, 125, 119, 32, 146, 92, 68, 105, 158, 163, 14, 114, 135, 76, 114, 251])
await crypto.subtle.importKey('raw', pub, { name: 'ECDSA', namedCurve: 'P-384' }, false, ['verify'])

importKey is rejected with DataError: Data provided to an operation does not meet requirements

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211201/aac7b38c/attachment.htm>


More information about the webkit-unassigned mailing list