GithubHelp home page GithubHelp logo

Comments (19)

palejabhargav avatar palejabhargav commented on June 25, 2024 15

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.

sandro-pasquali avatar sandro-pasquali commented on June 25, 2024 6

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.

sandro-pasquali avatar sandro-pasquali commented on June 25, 2024 2

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.

natew avatar natew commented on June 25, 2024 1

Running into this as well. It looks like the fix is already in this repo, can we get a publish?

from superlogin.

klues avatar klues commented on June 25, 2024 1

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.

colinskow avatar colinskow commented on June 25, 2024 1

@LyteFM could you please make a pull request with your updates?

from superlogin.

colinskow avatar colinskow commented on June 25, 2024

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.

colinskow avatar colinskow commented on June 25, 2024

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.

SukantGujar avatar SukantGujar commented on June 25, 2024

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.

numerized avatar numerized commented on June 25, 2024

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.

colinskow avatar colinskow commented on June 25, 2024

@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.

numerized avatar numerized commented on June 25, 2024

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.

antonyRoberts avatar antonyRoberts commented on June 25, 2024

@colinskow What is the status of this? Node 7 has been out for a while

from superlogin.

EuAndreh avatar EuAndreh commented on June 25, 2024

@antonyRoberts zemirco/couch-pwd#2

from superlogin.

peteruithoven avatar peteruithoven commented on June 25, 2024

Relevant: #167

from superlogin.

sandro-pasquali avatar sandro-pasquali commented on June 25, 2024

I'd be happy to do this (and some other things) if I could be a contributor.

from superlogin.

jaredthirsk avatar jaredthirsk commented on June 25, 2024

>>> 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.

colinskow avatar colinskow commented on June 25, 2024

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.

fynnlyte avatar fynnlyte commented on June 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.