Closed nolanlawson closed 10 years ago
This is from within an empty directory
weird, it created a user in config.json. but there also seems to be no way to log in in the UI
Can reproduce, started working on this.
We need an updated version of couchdb-harness, it's very likely this would've been caught by that.
The old version we use now still uses non-pbkdf2 hashing of passwords, which newer versions of CouchDB only support for backwards compatibility. For pouchdb-auth (and pouchdb-server) implementing that isn't worth the effort (and source code size: you can use pouchdb-auth in the browser as a pouchdb-authentication alternative.)
For the password hashing, I would prefer if we used the pbkdf2 solution, but I can understand that in a browser it's not really feasible. Worth revisiting later.
In any case, this issue is fixed! I'll release a new version
@nolanlawson pouchdb-auth does support pbkdf2. It just doesn't support legacy hashing, which the current couchdb-harness requires.
In the latest version of pouchdb-server (I just released express-pouchdb 0.7.0).
Steps to reproduce: go to create an admin, enter a username and password, press the button.
Result: get an error: