nextcloud/lib/private/Security
MichaIng e5f1523577 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-05-01 09:37:24 +00:00
..
Bruteforce Update license headers 2019-12-05 15:38:45 +01:00
CSP fix safari useragent for versions with 3 digits 2020-03-15 12:16:49 +00:00
CSRF Update license headers 2019-12-05 15:38:45 +01:00
FeaturePolicy Update license headers 2019-12-05 15:38:45 +01:00
IdentityProof Update license headers 2019-12-05 15:38:45 +01:00
Normalizer Update license headers for 18 2019-12-20 09:23:25 +01:00
RateLimiting Update license headers 2019-12-05 15:38:45 +01:00
Certificate.php Update license headers 2019-12-05 15:38:45 +01:00
CertificateManager.php Update license headers 2019-12-05 15:38:45 +01:00
CredentialsManager.php fix credentialsManager documentation and ensure userId to be used as string 2020-04-16 09:54:49 +00:00
Crypto.php Update license headers 2019-12-05 15:38:45 +01:00
Hasher.php Fix Argon2 options checks 2020-05-01 09:37:24 +00:00
SecureRandom.php Update license headers 2019-12-05 15:38:45 +01:00
TrustedDomainHelper.php Update license headers for 18 2019-12-20 09:23:25 +01:00