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

Node v8 crypto.pbkdf2 "digest" argument required #5

Open
ryanchantler opened this issue Oct 12, 2017 · 2 comments
Open

Node v8 crypto.pbkdf2 "digest" argument required #5

ryanchantler opened this issue Oct 12, 2017 · 2 comments

Comments

@ryanchantler
Copy link

With Node v8 the crypto.pbkdf2(password, salt, iterations, keylen, digest, callback) function requires "digest".

TypeError: The "digest" argument is required and must not be undefined
at pbkdf2 (crypto.js:635:11)
at Object.exports.pbkdf2 (crypto.js:623:10)
at RandomBytes.ondone (.../node_modules/couch-pwd/index.js:55:14)

@Charles546
Copy link

The thing frustrates me is that the fix was apparently merged in March. But the maintainer didn't care to create a new release and update npm. Anything that was maintained by individuals instead of a committee of some sort usually fails to provide any guarantee of quality. One choice would probably be to fork the code and maintain the fork yourself and never come back here.

@Prefect001
Copy link

Haven't found a solution. I tried using previous versions of mocha but it still didn't work. All my mocha tests are failing because of this

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