History log of /dokuwiki/_test/tests/inc/auth_password.test.php (Results 1 – 18 of 18)
Revision Date Author Comments
# 527ad715 07-Jan-2025 Tobias Bengfort <tobias.bengfort@posteo.de>

allow to set unusable password

This could be used by plugins such as dokuwiki-plugin-oauth to create
accounts that can only by accessed via SSO.


# 07a871e6 25-Jun-2024 Andreas Gohr <andi@splitbrain.org>

Support Woltlab password hashes

The Woltlab forum software uses bcrypt passwords, but prefixes them with
"Bcrypt:". This adds support for this in our PassHash class.


# dfaf0747 13-Mar-2024 Andreas Gohr <andi@splitbrain.org>

Support b and x variants for bcrypt hashes

Prompted by https://forum.dokuwiki.org/d/22108-authpdo-with-postgres-and-lemmy/3

As stated on https://stackoverflow.com/a/36225192

> there is no differen

Support b and x variants for bcrypt hashes

Prompted by https://forum.dokuwiki.org/d/22108-authpdo-with-postgres-and-lemmy/3

As stated on https://stackoverflow.com/a/36225192

> there is no difference between 2, 2a, 2x, 2y, and 2b. If you wrote your
> implementation correctly, they all output the same result.

show more ...


# 1c7f6650 01-Aug-2021 Jan Baier <jan.baier@amagical.net>

Add support for SHA256 encrypted passwords

Enable detection of SHA256 hashes (prefixed with $5$) and allow to
use this hashing schemes in passwords.


# b53267d3 17-Jun-2019 Phy <git@phy25.com>

Change cases of assertTrue in tests


# 0f43ea44 10-Jun-2019 Schplurtz le Déboulonné <Schplurtz@laposte.net>

add drupal and seafile hash methods


# 6f9868d5 07-Jan-2019 Phy <git@phy25.com>

fix sha512 failing test, and add test to crypt-style sha512 hash


# b216b154 12-May-2017 Andreas Gohr <andi@splitbrain.org>

use dataprovider in password tests

This fixes a problem with those tests in the most recent version of
phpunit. I thought it was caused by the use of the deprecated var
keyword, but some other weird

use dataprovider in password tests

This fixes a problem with those tests in the most recent version of
phpunit. I thought it was caused by the use of the deprecated var
keyword, but some other weirdness was going on. This way it's more
proper anyway.

show more ...


# 9c9753d6 12-May-2017 Andreas Gohr <andi@splitbrain.org>

replace some var keywords

This should fix some tests on PHP 7.1. The work is far from done, we
still have a lot of variables without proper accessibility defined.


# efce9e7d 08-Feb-2017 Andreas Gohr <gohr@cosmocode.de>

mysql 4.11+ hash is supposed to be upper case. fixes #1825


# 924cc11c 11-Mar-2016 Andreas Gohr <andi@splitbrain.org>

add support for new Django hashing methods

New Python Django application default to PBKDF2 with SHA256 as a
password mechanism. This adds support for that mechanism in our
password hasher class. Thi

add support for new Django hashing methods

New Python Django application default to PBKDF2 with SHA256 as a
password mechanism. This adds support for that mechanism in our
password hasher class. This will be needed in the tests for the new
PDO auth plugin.

show more ...


# 32c7ba22 24-Jul-2015 Andreas Gohr <andi@splitbrain.org>

skip sha512 tests when it's not available

This makes the entire testsuite run through on HHVM 3.8.0 on phpunit
beta-2015-06-18 :-)

Note: this does not mean that DokuWiki is fully compatible with HH

skip sha512 tests when it's not available

This makes the entire testsuite run through on HHVM 3.8.0 on phpunit
beta-2015-06-18 :-)

Note: this does not mean that DokuWiki is fully compatible with HHVM,
but it's a good step!

show more ...


# 36340418 30-Apr-2014 Andreas Gohr <andi@splitbrain.org>

fixed some test inheriting from the wrong parent


# dfbe4adf 26-Jan-2013 Andreas Gohr <andi@splitbrain.org>

added SHA512 hashing method FS#2663


# 529b0416 26-Jan-2013 Andreas Gohr <andi@splitbrain.org>

added mediawiki password method FS#2559

This should make migrating from MediaWiki a bit easier.


# 050f8f4d 01-May-2012 Andreas Gohr <andi@splitbrain.org>

removed unecessary requiresin unit tests


# 1831d8a0 01-May-2012 Andreas Gohr <andi@splitbrain.org>

fixed password hashing tests for recent PMD5 change


# f2ae886a 24-Apr-2012 Andreas Gohr <andi@splitbrain.org>

reenabled password test

according to Dominik Eckelmann one of the tests fails on certain servers. I can't
reproduce it. If you can, please open a bug report with as much info as
possible.