nextcloud/tests/lib/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 Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
CSP Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
CSRF Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
FeaturePolicy Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
IdentityProof Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Normalizer Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
RateLimiting Remove unused imports 2020-03-25 22:08:08 +01:00
CertificateManagerTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
CertificateTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
CredentialsManagerTest.php fix credentialsManager documentation and ensure userId to be used as string 2020-04-15 19:34:23 +02:00
CryptoTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
HasherTest.php Fix Argon2 options checks 2020-04-30 10:18:46 +02:00
SecureRandomTest.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
TrustedDomainHelperTest.php Use the shorter phpunit syntax for mocked return values 2020-03-25 22:21:27 +01:00