nextcloud/lib/private/Security
MichaIng ad60619655
Fix Argon2 options checks
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>
2020-04-30 10:18:46 +02:00
..
Bruteforce Update license headers for 19 2020-04-29 11:57:22 +02:00
CSP Update license headers for 19 2020-04-29 11:57:22 +02:00
CSRF Update license headers for 19 2020-04-29 11:57:22 +02:00
FeaturePolicy Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
IdentityProof Update license headers for 19 2020-04-29 11:57:22 +02:00
Normalizer Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
RateLimiting Update license headers for 19 2020-04-29 11:57:22 +02:00
Certificate.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CertificateManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
CredentialsManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Crypto.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Hasher.php Fix Argon2 options checks 2020-04-30 10:18:46 +02:00
SecureRandom.php Update license headers for 19 2020-04-29 11:57:22 +02:00
TrustedDomainHelper.php Update license headers for 19 2020-04-29 11:57:22 +02:00