nextcloud-server/lib/private/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 Merge pull request #11914 from nextcloud/csp/report-uri 2018-10-23 16:42:24 +07:00
CSRF Make \OC\Security\CSRF strict 2018-03-05 15:01:02 +07:00
IdentityProof Make \OC\Security\IdentityProof strict 2018-03-05 19:33:16 +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
Certificate.php Update with robin 2016-07-21 18:13:58 +07:00
CertificateManager.php Return value immediately instead of assigning to a one-time variable 2018-01-26 00:02:03 +07:00
CredentialsManager.php fix credentialsManager documentation and ensure userId to be used as string 2020-04-16 09:58:03 +07:00
Crypto.php Throw exception if decryption fails 2018-11-14 12:47:35 +07:00
Hasher.php Fix Argon2 options checks 2020-05-01 09:39:28 +07:00
SecureRandom.php Remove deprecated functions from SecureRandom 2018-12-07 19:33:32 +07:00
TrustedDomainHelper.php Move overwritehost check to isTrustedDomain 2019-12-09 20:40:33 +07:00