Marc Alexander
b810957c4b
[feature/passwords] Properly set convert_flag and add test for it
...
PHPBB3-11610
2013-09-14 13:55:53 +02:00
Marc Alexander
8b9370c6a9
[feature/passwords] Define default hashing algorithm in container file
...
The default hashing algorithm type is defined as a parameter in the service
definition file for the password hashing system. This will allow us to change
this in the future but it will also prevent unexperienced admins from changing
the hashing algorithm.
PHPBB3-11610
2013-09-14 13:55:45 +02:00
Marc Alexander
9b24fda5cd
[feature/passwords] Move files after namespacing changes
...
PHPBB3-11610
2013-09-14 13:55:28 +02:00
Marc Alexander
2e453eb2cb
[feature/passwords] Add legacy support for md5 passwords
...
PHPBB3-11610
2013-09-14 13:55:23 +02:00
Marc Alexander
bd4664807f
[feature/passwords] Increase code coverage in bcrypt driver
...
PHPBB3-11610
2013-09-14 13:55:18 +02:00
Marc Alexander
3a776ed0af
[feature/passwords] Increase test coverage of salted_md5 driver
...
PHPBB3-11610
2013-09-14 13:55:13 +02:00
Marc Alexander
b6473a515b
[feature/passwords] Increase manager test coverage to cover all methods
...
All methods in the manager are now fully covered.
PHPBB3-11610
2013-09-14 13:55:00 +02:00
Marc Alexander
fcb7130823
[feature/passwords] Use randomly generated password for tests
...
The password will start with 'foobar' and then continue with random
characters that will be appended every iteration.
PHPBB3-11610
2013-09-14 13:54:33 +02:00
Marc Alexander
ddc207fae8
[feature/passwords] Fix tests on PHP versions < 5.3.7
...
PHPBB3-11610
2013-09-14 13:54:27 +02:00
Marc Alexander
cfbd858bd7
[feature/passwords] Properly treat duplicates in combined hashes
...
PHPBB3-11610
2013-09-14 13:54:21 +02:00
Marc Alexander
6f33ca85a2
[feature/passwords] Add tests for combined hashing of passwords
...
PHPBB3-11610
2013-09-14 13:54:06 +02:00
Marc Alexander
4b81b93d10
[feature/passwords] Make sure hash has the required length
...
Also added tests to make sure that crypto drivers are enforcing the hash
length.
PHPBB3-11610
2013-09-14 13:53:08 +02:00
Marc Alexander
e7b3daeb29
[feature/passwords] Add tests for manager check_hash() method
...
Tests cover all supported hashing algorithms.
PHPBB3-11610
2013-09-14 13:52:57 +02:00
Marc Alexander
13d25e6a32
[feature/passwords] Fix tests for PHP version < 5.3.7
...
PHPBB3-11610
2013-09-14 13:52:52 +02:00
Marc Alexander
33725f6e2f
[feature/passwords] Include driver helper in manager_test
...
PHPBB3-11610
2013-09-14 13:52:33 +02:00
Marc Alexander
61e98fbd63
[feature/passwords] Add driver helper class for additional functions
...
Functions for the helper class might be used in other drivers as well and
therefore shouldn't be limited to just one driver.
PHPBB3-11610
2013-09-14 13:52:25 +02:00
Marc Alexander
c9fafcefd3
[feature/passwords] Add basic passwords manager test file
...
PHPBB3-11610
2013-09-14 13:52:15 +02:00