[
https://issues.apache.org/jira/browse/COUCHDB-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902584#comment-13902584
]
Jan Lehnardt commented on COUCHDB-2066:
---------------------------------------
Since 1.3.0, CouchDB uses PBKDF2 for password hashing for user accounts.
CouchDB will accept the old sha+salt format to not break BC, since it was
introduced in a minor version update.
Users are discouraged to use the old sha/salt ones though, we just kept the API
intact.
What we should do, though, is adding a transparent layer to turn sha+salt-style
PWs into pbkdf2 PWs transparently.
I’m not sure how to swing that without a API BC break, and we should run this
plan by a proper cryptographer.
> Don't allow stupid storage of passwords
> ---------------------------------------
>
> Key: COUCHDB-2066
> URL: https://issues.apache.org/jira/browse/COUCHDB-2066
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Isaac Z. Schlueter
>
> If a password_sha/salt combination is PUT into the _users db, wrap that up in
> PBKDF2.
> Discussion:
> https://twitter.com/janl/status/434818855626502144
> https://twitter.com/izs/status/434835388213899264
> https://twitter.com/janl/status/434835614790586368
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)