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

Added digest to hash-password #10

Merged
merged 1 commit into from Apr 7, 2017
Merged

Added digest to hash-password #10

merged 1 commit into from Apr 7, 2017

Conversation

Terreii
Copy link
Contributor

@Terreii Terreii commented Apr 7, 2017

On node.js version 6 the digest on crypto.pbkdf2 is required.
Default is 'sha1‘.

On node.js version 6 the digest on crypto.pbkdf2 is required.
Default is 'sha1‘.
Copy link
Member

@janl janl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janl janl merged commit 5c6b484 into hoodiehq:master Apr 7, 2017
@markwatsonatx
Copy link

This fix is required for Node.js 8. In Node.js 6 and 7 the following warning was printed:

(node:35) DeprecationWarning: crypto.pbkdf2 without specifying a digest is deprecated. Please specify a digest

In Node.js 8 the function has been removed and results in an unhandled exception in Hoodie.

Changing this file manually in node_modules fixes the issue. I believe the only thing that is required is to release a new version of this module on npm with this change that has already been merged.

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

Successfully merging this pull request may close these issues.

None yet

3 participants