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

integrating crypto-pouch #12

Open
pkojchevski opened this issue May 5, 2017 · 2 comments
Open

integrating crypto-pouch #12

pkojchevski opened this issue May 5, 2017 · 2 comments

Comments

@pkojchevski
Copy link

No description provided.

@delkant
Copy link

delkant commented Jul 31, 2017

Hello, is this the reason why the demo is not working?

I am getting this error:

crypto.js:635
    throw new TypeError(
    ^

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 (/srv/superlogin-demo/node_modules/couch-pwd/index.js:55:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node ./server/bin/www`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@delkant
Copy link

delkant commented Jul 31, 2017

The issue I was facing was happening on the server side.

colinskow/superlogin#64

Issue was fixed after replacing the couch-pwd/index.js for https://github.com/zemirco/couch-pwd/blob/master/index.js

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

2 participants