-
Notifications
You must be signed in to change notification settings - Fork 83
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
Add bindings dependency #144
base: master
Are you sure you want to change the base?
Conversation
Anyway to test this / prove it fixes something? |
I spent HOURS trying to solve this issue: When running npm start
Until I finally stumbled upon this PR. I tried the changes and it fixed it. This should be merged. Why isn't it? |
I don't think barrysteyn is currently working on this project, there are at least two other pulls that should be merged, too. If you want you can try to use my fork. |
Thanks @ml1nk But if this repo isn't being maintained anymore than npm install scrypt should be updated to point to an up to date version |
That's true but only barrysteyn can do it, at least a scoped package with a current version makes switching rather easy. |
@dbryan0516, @ml1nk if you are using Node v10.5.0 (current), scrypt has finally been released as part of the crypto module: I have written a zero-dependency npm module scrypt-kdf which you might find interesting as it has none of the issues of native abstractions, and which I would be glad for you to try out. It has a slightly simplified API compared with this module (it is promise-based and interfaces with strings rather than buffers), but it operates on the same stored password hashes. If you try it, let me know your experiences! @chrisveness |
@chrisveness |
@chrisveness L110 is more complicated and opinion-based. I see the goal to help localizing the error to your lib (a good thing), but I'm always a bit uneasy with this because you may loose context (for example if there is some extra data beyond what you get with So L110 may be an overreaction from me, but it'd be better to throw something at L179. |
I am having this same issue. I tried changing my node version to 10.5.0 in NVM and set the engine to 10.5.0 as well, but the |
@demurgos you are quite correct about L179. I've not been able to think of any case where that exception would get thrown, but I was lazy in ignoring it: I've now corrected it to throw in the same way as L110. The |
@dwalintukan I can't think of any reason |
Probably will solve many issues, like #135 trufflesuite/ganache-cli-archive#204 (comment)