-
Notifications
You must be signed in to change notification settings - Fork 11
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
breaks on Node 17.x #8
Comments
just as a note on the side, I tried to use a different library following this link but I greatly failed... |
does it work on, e.g. node 12? |
I suspect it works even with node 14, but I'm reluctant to try without breaking the system-wide distributor-driven installation. As far as I understand it has to do with the underlying crypto library linked into node, which has undergone some adaptions to comply with openssl 3.0. I'm not a crypto-guy whatsoever, but this is what I understand: |
btw, using something like passing |
maybe try using https://github.com/brix/crypto-js - as long it's not going to just pass through ALL the native functions, it may just solve it. |
After moving forward with the Armbian installation, the flow is broken on a newer Node version. The crypto modules seems to require a different setup and I don't really know how to fix it.
In the init node, this line gives an error (round line 585 or so):
ccm.sdh = crypto.createDiffieHellman(ccm.primehex, 'hex', 5);
This seems to be related to a comment I found about new requirement from openssl regarding key length:
https://www.mail-archive.com/[email protected]/msg1822399.html
Since I don't exactly know what this prime stuff is, I was not able to fix it. Any ideas?
The text was updated successfully, but these errors were encountered: