crx3-utils icon indicating copy to clipboard operation
crx3-utils copied to clipboard

crypto.createPublicKey is not a function

Open arthurdotwork opened this issue 5 years ago • 3 comments

Hi.

While using your node package, I encounter an issue while trying to execute : crx3-new private.pem < my_ext.zip

I generated the private.pem using : openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out private.pem

It's all that I've done, do you have any ideas ?

Thanks.

arthurdotwork avatar Sep 18 '19 10:09 arthurdotwork

use node 12.x, instead of 10.x

crypto.createPublicKey() was added in 11.6.0

gromnitsky avatar Sep 20 '19 13:09 gromnitsky

Ah. I have that issue too.

sasial-dev avatar Oct 10 '19 09:10 sasial-dev

Maybe add to the docs?

sasial-dev avatar Oct 10 '19 09:10 sasial-dev