nextcloud-server/tests/lib/Security
MichaIng b7f2f9307b 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:39:28 +07:00
..
Bruteforce Fix the thorrtler whitelist bitmask 2019-02-11 23:22:20 +07:00
CSP Set default frame-ancestors to 'self' 2019-01-08 15:36:40 +07:00
CSRF Use ::class in test mocks 2017-10-24 17:45:32 +07:00
IdentityProof Fix tests 2018-05-14 13:30:22 +07:00
Normalizer Allow bracket IPv6 address format inside IPAdress Normalizer 2019-01-03 10:03:46 +07:00
RateLimiting Make OC\Security\RateLimiting strict 2018-01-14 21:08:23 +07:00
CertificateManagerTest.php Use ::class in test mocks of encryption app 2017-10-26 13:56:56 +07:00
CertificateTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +07:00
CredentialsManagerTest.php add DB tests for credentials manager 2020-04-16 09:58:01 +07:00
CryptoTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +07:00
HasherTest.php Fix Argon2 options checks 2020-05-01 09:39:28 +07:00
SecureRandomTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +07:00
TrustedDomainHelperTest.php Move overwritehost check to isTrustedDomain 2019-12-09 20:40:33 +07:00