Conversation
I think so. Probably something like that. As long as we use the |
|
@kesselb |
I'm not sure but |
|
@kesselb EDIT:
Okay so all this is pretty failsafe. |
c908fd7 to
6123e68
Compare
|
@kesselb |
That makes it impossible to pick a lower value than PASSWORD_ARGON2_DEFAULT_* 🤔 |
That should cover most cases. Lets keep it simple ;) |
Ah damn you're right. Also: https://www.php.net/manual/en/password.constants.php
So no chance those are not set or invalid. |
6123e68 to
dd17608
Compare
|
CI says no... |
The minimum for memory cost is 8 KiB per thread. Threads must be checked and set first to allow checking against the correct memory cost mimimum. Options are now applied the following way: - If config.php contains the setting with an integer higher or equal to the minimum, it is applied. - If config.php contains the setting with an integer lower than the minimum, the minimum is applied. - If config.php does not contain the setting or with no integer value, the PHP default is applied. Signed-off-by: MichaIng <micha@dietpi.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
dd17608 to
ad60619
Compare
|
Fixed the tests |
|
/backport to stable18 |
|
/backport to stable17 |
|
/backport to stable16 |
As of: #19023 (comment)
The minimum for memory cost is 8 KiB per thread. Threads must be checked and set first to allow checking against the correct memory cost mimimum.
Options are now applied the following way: