Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto.createPublicKey is not a function #1

Open
arthurdotwork opened this issue Sep 18, 2019 · 3 comments
Open

crypto.createPublicKey is not a function #1

arthurdotwork opened this issue Sep 18, 2019 · 3 comments

Comments

@arthurdotwork
Copy link

arthurdotwork commented Sep 18, 2019

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.

@gromnitsky
Copy link
Owner

use node 12.x, instead of 10.x

crypto.createPublicKey() was added in 11.6.0

@sasial-dev
Copy link

Ah.
I have that issue too.

@sasial-dev
Copy link

Maybe add to the docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants