diafygi/webcrypto-examples

crypto.webkitSubtle.encrypt isn't working

AlexGladkov opened this issue · 1 comments

Hello! I'm making browser's extensions for every browser. I use webcrypto for chrome and mozilla and it works perfect, but the same code (i replace crypto.subtle to crypto.webkitSubtle) isn't work correctly with Safari. I use RSA-OAEP with Sha-512 hash.
It's correctly generate keys and export them to jwk, but i can't encrypt or decrypt anything with this keys. It is even don't show error just do nothing.
Can you help pls, how use this in Safari?

Thanks in advance.

your right, same here importKey The operation is not supported

Chrome Mobile iOS 54.0.2840 (iOS 10.0.2) LessPass encryptLogin should use pbkdf2 with 8192 iterations and sha256 FAILED
    The operation is not supported.
    importKey@[native code]
    importKey@index.js:16:46
    encryptLogin@index.js:42:25
    tests/api.tests.js:6:34