diafygi / webcrypto-examples

Web Cryptography API Examples Demo: https://diafygi.github.io/webcrypto-examples/
GNU General Public License v2.0
1.65k stars 194 forks source link

crypto.webkitSubtle.encrypt isn't working #27

Open AlexGladkov opened 8 years ago

AlexGladkov commented 8 years ago

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.

guillaumevincent commented 7 years ago

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