π Feature Request β crypto.subtle.importKey
should support large RSA public exponent
#2120
Labels
crypto.subtle.importKey
should support large RSA public exponent
#2120
It would be great if
crypto.subtle.importKey
would support large RSA public key exponent.The following worker (playground) highlights the curent error path
This key import works in Node.js v20 and Firefox.
While there might be a performance penalty, the extra CPU usage would be reflected on the worker bill.
The relevant code is
workerd/src/workerd/api/crypto-impl-asymmetric.c++
Lines 973 to 992 in 62481a4
The text was updated successfully, but these errors were encountered: