System: Safari 14.x on Mac, also Safari on iPhone (iOS 14.3)
importKey throws an error:
[Log] DataError: Data provided to an operation does not meet requirements —
also generateKey does not work for 8192 bit key length
Did you test this? If so, how?
let keyPair = window.crypto.subtle.generateKey(
{
name: "RSA-OAEP",
modulusLength: 8192,
publicExponent: new Uint8Array([1, 0, 1]),
hash: "SHA-512"
},
true,
["encrypt", "decrypt"]
);
Compatibily list tells, that Safari is compatible - and it works up to 4096 bit key length.
Is it a bug or is 8192 bit keylength in Safari not implemented?
or is there an other way to implement 8192 bit key length?
(Other browsers on Mac and Android mobile phones work well with 8192 bit key length)
Thanks. :)
importKey throws an error:
[Log] DataError: Data provided to an operation does not meet requirements —
also generateKey does not work for 8192 bit key length
Did you test this? If so, how?
let keyPair = window.crypto.subtle.generateKey(
{
name: "RSA-OAEP",
modulusLength: 8192,
publicExponent: new Uint8Array([1, 0, 1]),
hash: "SHA-512"
},
true,
["encrypt", "decrypt"]
);
Compatibily list tells, that Safari is compatible - and it works up to 4096 bit key length.
Is it a bug or is 8192 bit keylength in Safari not implemented?
or is there an other way to implement 8192 bit key length?
(Other browsers on Mac and Android mobile phones work well with 8192 bit key length)
Thanks. :)