-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Use a feature of Node v11.7.0 to extract a public key #3921
Comments
Should I upgade my node.js?I have spent a couple of evenings without getting misskey up and running, and some of the errors looks like this one with My setup
Workaround with no luck
I would rather not upgrade to node 11.7.0+ as suggested in this issue and here and here. Is there another way out? And a quick one. I would really like to get on with my test of this awesome project as soon as possible. For all those persistent people out there - have some highlights from my error log...It fires up pretty ok
But then:
...and...
|
You should use
|
Summary
Here is a good news: Node.js v11.7.0 now has a feature to extract a public key. It was introduced with the following pull request:
nodejs/node#25217
The API allowing to extract a public key is
crypto.createPublicKey(key)
.https://nodejs.org/api/crypto.html#crypto_crypto_createpublickey_key
It effectively replaces the functionality of
src/crypto_key.cc
, which I introduced in #1303 and a pull request recently merged, #3906, updated.However, please note that the version of Node.js was released today (2019-01-18). You may carefully decide when to make such a change because it may not be widely available yet and some may prefer LTS versions.
Environment
Node.js v11.7.0
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: