Hi I have briefly looked the passwordhash.class.php and find out that we are still using md5 as password hash function.
It is possible to use more advanced hash(e.g.: sha2) for php7? As I think it is a rather important issue to avoid hash collision for UAC.
Hi I have briefly looked the passwordhash.class.php and find out that we are still using md5 as password hash function.
It is possible to use more advanced hash(e.g.: sha2) for php7? As I think it is a rather important issue to avoid hash collision for UAC.
http://php.net/manual/en/function.hash.php
Thanks
Ken
<!-- github-sync-id:282674461 -->
Hello
that's not the way password works in Piwigo
that has been already discussed. Look for more
The local config already allows you to change the hashing. Look for it
Hello
that's not the way password works in Piwigo
that has been already discussed. Look for more
The local config already allows you to change the hashing. Look for it
<!-- github-comment-id:352249498 -->
I confirm what @flop25 says : Piwigo does not store password with a simple md5 hash. We use a much more complex mecanism.
An improvement could be to use the new password_hash/password_verify for PHP 5.5+ and fallback to PasswordHash for older PHP versions, but we can consider the PasswordHash class as an equivalent to password_hash/password_verify
I confirm what @flop25 says : Piwigo does not store password with a simple md5 hash. We use a much more complex mecanism.
An improvement could be to use the new password_hash/password_verify for PHP 5.5+ and fallback to PasswordHash for older PHP versions, but we can consider the PasswordHash class as an equivalent to password_hash/password_verify
<!-- github-comment-id:352265493 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi I have briefly looked the passwordhash.class.php and find out that we are still using md5 as password hash function.
It is possible to use more advanced hash(e.g.: sha2) for php7? As I think it is a rather important issue to avoid hash collision for UAC.
http://php.net/manual/en/function.hash.php
Thanks
Ken
Hello
that's not the way password works in Piwigo
that has been already discussed. Look for more
The local config already allows you to change the hashing. Look for it
I confirm what @flop25 says : Piwigo does not store password with a simple md5 hash. We use a much more complex mecanism.
An improvement could be to use the new password_hash/password_verify for PHP 5.5+ and fallback to PasswordHash for older PHP versions, but we can consider the PasswordHash class as an equivalent to password_hash/password_verify