[Webkit-unassigned] [Bug 162554] New: Unable to store PKI keys in IndexedDB database in Safari 10
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 26 06:26:25 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=162554
Bug ID: 162554
Summary: Unable to store PKI keys in IndexedDB database in
Safari 10
Classification: Unclassified
Product: WebKit
Version: Safari 10
Hardware: Unspecified
OS: macOS 10.12
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit API
Assignee: webkit-unassigned at lists.webkit.org
Reporter: oyvind.pedersen at invenia.no
Created attachment 289823
--> https://bugs.webkit.org/attachment.cgi?id=289823&action=review
stand-alone html file that shows the problem
In Safari 10 (at least on Sierra) I am unable to store an RSA KeyPair created by the WebCrypto api in an IndexedDB database. The indexedDB put operation results in a DataCloneError. This works in Safari 9 and Chrome on El Capitan, and on Chrome on Windows. It seems that the CryptoKey object is no longer cloneable in Safari 10. I have also verified that symmetric keys (AES) suffer from the same problem.
I have attached a html file which shows the bug. It alerts "works!" on all the above platforms except on Safari 10, where it shows a DataCloneError instead. On Safari 9, indexedDB cannot be accessed from a file url, so it has to be run from a web server instead, e.g. https://api-op.developer.ensafer.no/client/app/RSAIndexedDBtest.html.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160926/41cf35e0/attachment.html>
More information about the webkit-unassigned
mailing list