Comments (19)
You can add following dependency in your package.json for npm to fetch dependency directly from github repo which already has the fix.
"couch-pwd": "zemirco/couch-pwd"
from superlogin.
This now breaks in Node 8. Superlogin throws now -- no longer just deprecated. It is a straight failure now.
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 Object.exports.hash (/.../node_modules/couch-pwd/index.js:41:12)
at Object.exports.verifyPassword (/.../node_modules/superlogin/lib/util.js:37:10)
at /.../node_modules/superlogin/lib/local.js:55:18
at <anonymous>
Can we get this updated? Also, the npm module version hasn't been updated in quite a while and it would be good to get some recent fixes in a distributable package form.
Thanks!
from superlogin.
ps. couch-pwd is a tiny little package with no non-native deps (https://github.com/zemirco/couch-pwd/blob/master/index.js) so it maybe can just be copied into a core superlogin module, rather than waiting for it to be updated/published?
from superlogin.
Running into this as well. It looks like the fix is already in this repo, can we get a publish?
from superlogin.
I had the same issue and now use the fork https://www.npmjs.com/package/@sensu/superlogin which already includes the fixed version of couch-pwd
and also other updated dependencies like pouchdb 6.4.3
instead of 5.3.2
in the current release of this repository.
However it would be great if a new release of this "official" repository with fixed/updated dependencies would be published or another fork would be declared as new "official" repository where development continues. At the moment it seems to be quite a mess.
from superlogin.
@LyteFM could you please make a pull request with your updates?
from superlogin.
OK, I haven't even tested on Node 6 yet. It works for now, but I will be making these adjustments for future versions. The warning is coming from couch-pwd
. I recommend you file an issue there or do a pull request yourself to fix the issue.
from superlogin.
I filed an issue here: zemirco/couch-pwd#1
I'll wait a few weeks for the maintainer of this package to fix, otherwise I will fork it
from superlogin.
Thanks Colin.
On May 16, 2016 2:47 AM, Colin Skow [email protected] wrote:I filed an issue here: zemirco/couch-pwd#1
I'll wait a few weeks for the maintainer of this package to fix, otherwise I will fork it
—You are receiving this because you authored the thread.Reply to this email directly or view it on GitHub
from superlogin.
Hi guys, thanks for the ticket,
Is it blocking, because I can register user and I can't connect with the login route ?
from superlogin.
@numerized that problem should have nothing to do with the Crypto warning. It will work fine until Node 7.
What problem are you having with the login route?
from superlogin.
I simply didn't know that username has to be in small letters to be accepted. I could create my account with capital letters in the username with a rest client but I couldn't login with the same credential accepted before ! now I create my usernames in small it works well.
from superlogin.
@colinskow What is the status of this? Node 7 has been out for a while
from superlogin.
@antonyRoberts zemirco/couch-pwd#2
from superlogin.
Relevant: #167
from superlogin.
I'd be happy to do this (and some other things) if I could be a contributor.
from superlogin.
>>> Superlogin is broken / dead <<<, as far as I can tell, unless and until couch-pwd gets replaced. I see sen-su made an updated fork: https://github.com/sen-su/couch-pwd, but it looks like he has an entirely new fork of superlogin, so I will check that out. Adios, dead project.
from superlogin.
Sounds good. I honestly stopped using CouchDB, so I haven't had any resources to devote to maintaining it. If sen-su would like to take over the official package I would be happy to hand over the repo and NPM package.
from superlogin.
I've also made a fork of superlogin, updated all dependencies and some tests (Travis CI for node 10 & Snyk scans) and refactored it a bit:
https://github.com/LyteFM/superlogin
I also considered to publish it on npm, but would of course be nicer to contribute to the official package if he'd like to work on it.
from superlogin.
Related Issues (20)
- How can I remove confirmPassword requirement?
- Validation failed HOT 8
- Validation failed HOT 1
- Calling /auth/session with authorization header is returning unauthorized HOT 1
- Use template-literal instead of EJS
- user-db-added event doesn't get emitted HOT 1
- New release? HOT 13
- Validation Failed HOT 1
- Register vaildation failed HOT 18
- Mandatory Migration from Cloudant to BlueMix not compatible with Superlogin HOT 1
- Superlogin with CouchDB crypto.pbkdf2 "digest" argument required HOT 1
- how to add profile data with registration?
- removeUser not working
- Live demo isn't working HOT 1
- Forgot Password function
- TypeError: Cannot read property 'valid' of undefined at Function.PouchDB.parseAdapter
- Howto: use superlogin with current nodejs HOT 6
- Set a Doc create limit per user
- super login spaming console with errors
- Graphql
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superlogin.