You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/01/25 13:39:53 UTC
[GitHub] iilyak commented on a change in pull request #1803: Sync admin
passwords at cluster setup finish
iilyak commented on a change in pull request #1803: Sync admin passwords at cluster setup finish
URL: https://github.com/apache/couchdb/pull/1803#discussion_r250987276
##########
File path: src/couch/src/couch_passwords.erl
##########
@@ -41,18 +41,24 @@ hash_admin_password(ClearPassword) when is_binary(ClearPassword) ->
hash_admin_password(Scheme, ClearPassword).
hash_admin_password("simple", ClearPassword) -> % deprecated
- Salt = couch_uuids:random(),
+ Salt = salt(),
Review comment:
This reduces our security. For PBKDF the salt should be (see https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet):
- unique for each stored credential
- generated by cryptographically-strong PRNG
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services