Github user janl commented on a diff in the pull request:
https://github.com/apache/couchdb-couch/pull/60#discussion_r33028464
--- 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 --
Is this re-introducing the salt+sha1 hash from the pre-pbkdf2 days or am I
reading this wrong?
---
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.
---