380be9f1fd
[ticket/14733] Make sure detect_algorithm() works correctly and add tests
...
detect_algorithm() returned array() if an algorithm prefix was more than 2
characters long. This might have been invalid for other prefixes. In order
to correctly cope with other prefixes, another check for a backslash in the
prefix definitino has been added.
This was discovered while writing the tests for the newly added interface.
PHPBB3-14733
2016-10-03 22:09:28 +02:00
722639a0e2
[ticket/14733] Extend passwords driver_interface in rehashable_driver_interface
...
PHPBB3-14733
2016-10-03 22:09:22 +02:00
d15269950d
[ticket/14733] Use new interface to preserve backwards compatibility
...
PHPBB3-14733
2016-10-03 22:09:16 +02:00
297376ee94
[ticket/14733] Use default cost factor in bcrypt constructor
...
PHPBB3-14733
2016-10-03 22:09:12 +02:00
1d40c0f43b
[ticket/14733] Support increasing hashing cost factor
...
PHPBB3-14733
2016-10-03 22:09:07 +02:00
cc1a96a804
Merge branch '3.1.x'
...
* 3.1.x:
[ticket/13976] Fix comment typo in salted_md5.php
2015-10-21 00:32:20 +02:00
6b433eab4c
[ticket/13976] Fix comment typo in salted_md5.php
...
PHPBB3-13976
2015-10-21 00:22:42 +02:00
f9f7f935b4
[ticket/12577] Docblock
...
PHPBB3-12577
2015-09-18 19:54:06 +02:00
25f5e4f18f
[ticket/12577] Lazy initialize the password manager
...
PHPBB3-12577
2015-09-17 15:36:04 +02:00
fb94bd11fb
[ticket/13917] Do not pass non-string variables to hash_equals()
...
PHPBB3-13917
2015-06-04 17:16:22 +02:00
852337cacd
[ticket/13917] Use hash_equals() if it's available
...
PHPBB3-13917
2015-06-04 16:52:08 +02:00
8769f185f5
[ticket/13772] Fix typo in phpbb\passwords\manager::__construct()
...
PHPBB3-13772
2015-04-21 10:00:30 +01:00
0bc04a4df0
[ticket/13203] Use string_compare method in passwords drivers
...
PHPBB3-13203
2014-10-22 14:54:55 -05:00
2b47ef1266
[ticket/13203] Add method for byte by byte comparison to drivers helper
...
PHPBB3-13203
2014-10-22 14:54:22 -05:00
09fc008e62
[ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy
...
PHPBB3-12721
2014-06-16 22:35:41 +02:00
5dfb1cc66a
[ticket/12715] Cleanup comments in \phpbb\passwords\*
...
PHPBB3-12715
2014-06-15 19:14:59 +02:00
ac311e1b39
[ticket/12352] Do not check hashes that don't have the necessary length
...
This should significantly reduce the time spent on checking hashes of
passwords that should be converted.
PHPBB3-12352
2014-06-02 10:14:26 +02:00
94b2b64ca1
[ticket/12352] Update file headers to fit new format
...
PHPBB3-12352
2014-06-01 21:36:53 +02:00
4b3aacfd18
[ticket/12352] Add get_settings_only method to passwords driver base
...
PHPBB3-12352
2014-06-01 21:31:05 +02:00
f3eba6275a
[ticket/12352] Add passwords driver for xenforo 1.0, 1.1 passwords
...
PHPBB3-12352
2014-06-01 21:31:05 +02:00
cf61d35d75
[ticket/12352] Add driver for woltlab community framework 1 passwords
...
PHPBB3-12352
2014-06-01 21:31:05 +02:00
2d7593995e
[ticket/12352] Add driver for woltlab community framework 2 passwords
...
PHPBB3-12352
2014-06-01 21:31:05 +02:00
61a5fd59cf
[ticket/12352] Add missing $ to md5_mybb and md5_vb driver
...
PHPBB3-12352
2014-06-01 21:31:05 +02:00
c6e1b51d78
[ticket/12352] Add passwords driver for vB passwords
...
PHPBB3-12352
2014-06-01 21:31:05 +02:00
252a061864
[ticket/12352] Use correct hashing method in md5_mybb driver
...
PHPBB3-12352
2014-06-01 21:31:05 +02:00
af25aef04c
[ticket/12352] Add driver for myBB md5 passwords
...
PHPBB3-12352
2014-06-01 21:31:05 +02:00
dc5a5a7cdf
[ticket/12352] Rename phpbb2_md5 driver to fit filenames of other drivers
...
PHPBB3-12352
2014-06-01 21:31:05 +02:00
033272f968
[ticket/12352] Add passwords driver for sha1 password hashes
...
PHPBB3-12352
2014-06-01 21:31:04 +02:00
d9e49fae23
[ticket/12352] Check phpBB2 passwords that have been encrypted with phpass
...
PHPBB3-12352
2014-06-01 21:31:04 +02:00
5a243af879
[ticket/12352] Add driver for phpBB2 hashes with md5 length of 32
...
PHPBB3-12352
2014-06-01 21:31:04 +02:00
60cb648ab0
[ticket/12352] Remove code for converting passwords in db auth provider
...
PHPBB3-12352
2014-06-01 21:31:04 +02:00
2a96b9e285
[ticket/12352] Use $CP$ prefix for converting passwords in manager
...
PHPBB3-12352
2014-06-01 21:31:04 +02:00
1e758ba7f0
[ticket/12352] Add passwords driver for passwords that should be converted
...
This driver will only be used for getting the new $CP$ prefix that will signal
that the hash is a legacy hash that needs to be converted.
PHPBB3-12352
2014-06-01 21:31:04 +02:00
68f59defb0
[ticket/12352] Mark salted md5 and phpass passwords driver as legacy
...
PHPBB3-12352
2014-06-01 21:31:04 +02:00
ee72e7b3ad
[ticket/12352] Introduce user row to passwords check methods
...
This will ensure that legacy hash types that might need the user row can
properly check if the supplied password is correct.
PHPBB3-12352
2014-06-01 21:31:04 +02:00
2ea45a06e7
[ticket/12352] Add legacy passwords driver for sha1 smf type passwords
...
PHPBB3-12352
2014-06-01 21:31:04 +02:00
a759704b39
[ticket/12594] Remove @package tags and update file headers
...
PHPBB3-12594
2014-05-27 20:51:13 +02:00
b094c79996
[feature/passwords] Move combined hashing methods to manager
...
This will get rid of the circular dependency between the passwords manager
and the passwords helper. The combined_hash_password() method was also
slightly changed to allow both the definitions of service names or prefixes
for the hash types.
PHPBB3-11610
2014-02-02 14:57:43 +01:00
08a8bd8e6f
[feature/passwords] Add support for passwords driver service name in hash()
...
This will allow users to specify both the hash type by prefix and by its
service name.
PHPBB3-11610
2014-02-02 14:13:21 +01:00
292961a277
[feature/passwords] Get rid of set_name/get_name methods for passwords drivers
...
PHPBB3-11610
2014-02-02 14:09:09 +01:00
4b832cf2bd
[feature/passwords] Intialize output array before usage in passwords helper
...
PHPBB3-11610
2013-12-29 17:57:17 +01:00
1465915830
[feature/passwords] Remove unneeded definitions of full namespace
...
PHPBB3-11610
2013-12-29 17:56:41 +01:00
8383d1f1d3
[feature/passwords] Add missing documentation to docblocks
...
Also contains some minor spacing changes.
PHPBB3-11610
2013-12-29 17:55:00 +01:00
141bef75cb
[feature/passwords] Undo simplification to bcrypt driver
...
By simplifying, a needed part was removed that is actually required.
PHPBB3-11610
2013-12-29 17:04:38 +01:00
808c54fa89
[feature/passwords] Get rid of unneeded code complexity
...
Simplified a little bit of code as pointed out by imkingdavid on github.
PHPBB3-11610
2013-12-29 16:33:09 +01:00
555cd025b2
[feature/passwords] Remove unnecessary specification of namespace in drivers
...
PHPBB3-11610
2013-12-29 16:17:37 +01:00
b37549ce63
[feature/passwords] Remove IN_PHPBB check from passwords files
...
PHPBB3-11610
2013-12-29 14:07:27 +01:00
5193b3279c
[feature/passwords] Pass list of default types to passwords manager
...
This list is in the order of how the driver types would be used. If a driver
is not supported we will try the subsequent one.
PHPBB3-11610
2013-10-27 14:18:02 +01:00
bb836b65e3
[feature/passwords] Integrate convert_flag with db auth provider
...
PHPBB3-11610
2013-10-25 15:21:09 +02:00
87bd628241
[feature/passwords] Minor cleanup in passwords files
...
PHPBB3-11610
2013-10-14 14:31:00 +02:00