-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with iOS safari importKey AES-GCM #50
Comments
@borisreitman Thanks. I'll fix it soon |
@borisreitman I published v1.0.32 |
Why has this worked on OSX Safari, without any modifications ? |
@borisreitman liner has browser specific special casing in it, while I didn't look at the PR differences in the version just published it could be related to that. |
Because OSX Safari has native implementation for this algorithm. iOS Safari uses JS implementation |
Hi guys, first of all thank you so much for this library and the node shim, I can't imagine how i could have ported all the webcrypto powered apps to work with older browsers. Anyway, I ran into the same problem, but for exporting RSA-OAEP. I can confirm that it works for the above example with AES-GCM, but not for RSA-OAEP. Here's the code (Pretty much the same, except I'm trying to export an RSA key)
I get an I'm using iOS 10 safari on an iPad. |
@doraemondrian please create a new bug for this issue. |
@rmhrisk Done. First thought these were related issues, sorry about that! |
Here's the sample code:
It works on OSX Safari, but it doesn't work on my iPhone safari (iOS version 10.3.2). The error output is:
Please note that I am passing in the sample "true" for the extractable flag.
Version of of my webcrypto-liner git checkout is bd4cff5 which has the comment 0.1.28 -- so it must be a version release.
The text was updated successfully, but these errors were encountered: