Bug 151125
Summary: | Add features requested by 1Password to WebCrypto | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ap, bfulgham, elima, jiewen_tan, mail, oliver, rob, roustem |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://twitter.com/ryosukeniwa/status/664286585593049088 | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=157175 | ||
Bug Depends on: | 160880 | ||
Bug Blocks: |
Ryosuke Niwa
The list of features being requested:
https://gist.github.com/roustem/5113d48e1a91e220ff6d
It looks like they need at least AES-GCM.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
rdar://problem/23379153
Roustem
We polyfilled AES-GCM using SCJL in 1Password. The biggest show stopper is RSA-OAEP-256.
Tankred Hase
I'm currently implementing AES-GCM support for OpenPGP.js (IETF draft):
https://github.com/openpgpjs/openpgpjs/pull/430
Having native support in WebKit would make a big difference for larger files on iOS:
https://github.com/openpgpjs/openpgpjs/pull/430#issuecomment-200469142
I'd happily help with testing if I can. Thanks for your consideration!
Rob
Just to update here, Jiewen Tan's recent work to update `importKey` to the latest spec (https://bugs.webkit.org/show_bug.cgi?id=164446) fixes half of our (1Password's) problems with WebKit. In the latest WebKit nightly, it's now possible to sign in to accounts that were created with RSA-OAEP-256 keys. The biggest remaining issue here without a workaround is fixing `exportKey` https://bugs.webkit.org/show_bug.cgi?id=156114. AES-GCM would be great too so we can avoid polyfilling it (https://bugs.webkit.org/show_bug.cgi?id=157175).
Jiewen Tan
Duplicate this bug to Bug 157175 since the only remaining request from 1Password is to add AES-GCM.
*** This bug has been marked as a duplicate of bug 157175 ***