Github user rnewson commented on a diff in the pull request:
https://github.com/apache/couchdb-couch/pull/60#discussion_r33031108
--- Diff: src/couch_passwords.erl ---
@@ -30,6 +30,14 @@ simple(Password, Salt) when is_binary(Password),
is_binary(Salt) ->
hash_admin_password(ClearPassword) when is_list(ClearPassword) ->
hash_admin_password(?l2b(ClearPassword));
hash_admin_password(ClearPassword) when is_binary(ClearPassword) ->
+ Scheme = config:get("couch_httpd_auth", "password_scheme", "pbkdf2"),
+ hash_admin_password(Scheme, ClearPassword).
+
+hash_admin_password("simple", ClearPassword) ->
--- End diff --
we didn't, that's the enhancement. Plaintext admin passwords used to be
one-pass sha'ed, then from 1.2 or so they were pbkdf2'd. Already hashed
passwords are left as they are.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---