[Webkit-unassigned] [Bug 233705] PKCS8 EC private keys without the public key component cannot be imported with SubtleCrypto.importKey
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 11 05:33:11 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=233705
Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahmad.saleem792 at gmail.com,
| |karlcow at apple.com
--- Comment #2 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Using this in console for all browsers, I get similar error;
const pkcs8 = new Uint8Array([48, 78, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 4, 55, 48, 53, 2, 1, 1, 4, 48, 32, 52, 118, 9, 96, 116, 119, 172, 168, 251, 251, 197, 230, 33, 132, 85, 243, 25, 150, 105, 121, 46, 248, 180, 102, 250, 168, 123, 220, 103, 121, 129, 68, 200, 72, 221, 3, 102, 30, 237, 90, 198, 36, 97, 52, 12, 234, 150])
crypto.subtle.importKey('pkcs8', pkcs8, { name: 'ECDSA', namedCurve: 'P-384' }, false, ['sign'])
___
Safari 17.4, Chrome Canary 124 and Firefox Nightly 125.
--
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/20240311/9014ff08/attachment.htm>
More information about the webkit-unassigned
mailing list