nextcloud/tests/lib/Security
Morris Jobke dc479aae2d
Improve CertificateManager to not be user context dependent
* removes the ability for users to import their own certificates (for external storage)
* reliably returns the same certificate bundles system wide (and not depending on the user context and available sessions)

The user specific certificates were broken in some cases anyways, as they are only loaded if the specific user is logged in and thus causing unexpected behavior for background jobs and other non-user triggered code paths.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 00:13:01 +01:00
..
Bruteforce Don't break when the IP is empty 2020-09-10 14:20:27 +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 Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Normalizer Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
RateLimiting Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
CertificateManagerTest.php Improve CertificateManager to not be user context dependent 2020-11-03 00:13:01 +01: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 Implement unit tests for versions 1 and 2. 2020-10-15 21:23:24 -08:00
HasherTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +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