| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
| |
This should make migrating from MediaWiki a bit easier.
|
|
|
|
|
| |
crypt seems to behave different on different systems when the salt
is empty.
|
| |
|
|
|
|
|
|
| |
Input iteration counts are squared in the function and passing something
above 30 is giving integer overflows on 32 bit systems (and causes insane
iteration counts on 64bit systems).
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
lib/plugins/config/settings/config.metadata.php
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This implements the salted MD5 password hash format of the LDAP RFC.
The format is quite simple the password, followed by the 8 byte hash in
base64 encoding, which results in 32 characters, prepended with the
string "{smd5}".
|
|/
|
|
| |
This method require PHP 5.3+ it will fail otherwise!
|
|
|
|
|
|
|
| |
Turned out a test wasn't really testing what it should have been testing
and thus did hide a bug. Still puzzles me why it still worked some
times.
This patch also sets the default iteration count for bmd5 and pmd5 to 8.
|
|
|
|
| |
The pure PHP implementation for smd5 failed.
|
| |
|
| |
|
|
this splits the long auth_cryptPassword() function into many member
functions of a new class PassHash which should make it more
maintainable and reusable for other projects.
This also adds two new methods djangomd5 and djangosha1 as used by the
popular python framework Django.
Maybe the auth_cryptPassword() and auth_verifyPassword() functions
should be deprecated in favor of using the class directly?
|