nextcloud/tests/lib/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 Mode to modern phpunit 2019-11-27 15:27:18 +01:00
CSP Mode to modern phpunit 2019-11-27 15:27:18 +01:00
CSRF Mode to modern phpunit 2019-11-27 15:27:18 +01:00
FeaturePolicy Mode to modern phpunit 2019-11-27 15:27:18 +01:00
IdentityProof Mode to modern phpunit 2019-11-27 15:27:18 +01:00
Normalizer Allow bracket IPv6 address format inside IPAdress Normalizer 2019-01-03 10:03:46 +01:00
RateLimiting Mode to modern phpunit 2019-11-27 15:27:18 +01:00
CertificateManagerTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
CertificateTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
CredentialsManagerTest.php add DB tests for credentials manager 2020-04-16 09:54:49 +00:00
CryptoTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
HasherTest.php Fix Argon2 options checks 2020-05-01 09:37:24 +00:00
SecureRandomTest.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
TrustedDomainHelperTest.php Move overwritehost check to isTrustedDomain 2019-12-07 09:53:06 +01:00