nextcloud/tests/settings/controller
Lukas Reschke bc6d17ed74 Add check for availability of /dev/urandom
Without /dev/urandom being available to read the medium RNG will rely only on the following components on a Linux system:

1. MicroTime: microtime() . memory_get_usage() as seed and then a garbage collected microtime for loop
2. MTRand: chr((mt_rand() ^ mt_rand()) % 256)
3. Rand: chr((rand() ^ rand()) % 256)
4. UniqId: Plain uniqid()

An adversary with the possibility to predict the seed used by the PHP process may thus be able to predict future tokens which is an unwanted behaviour.

One should note that this behaviour is documented in our documentation to ensure that users get aware of this even without reading our documentation this will add a post setup check to the administrative interface.

Thanks to David Black from d1b.org for bringing this again to our attention.
2015-05-26 14:16:07 +02:00
..
AppSettingsControllerTest.php Add experimental applications switch 2015-04-03 13:21:24 +02:00
CertificateControllerTest.php Adjust tests and statuscode 2015-04-20 13:00:02 +02:00
CheckSetupControllerTest.php Add check for availability of /dev/urandom 2015-05-26 14:16:07 +02:00
groupscontrollertest.php React on other statuscodes than 200 2014-12-08 16:35:13 +01:00
logsettingscontrollertest.php use StreamResponse to download the log file - fixes #14268 2015-03-27 11:30:32 +01:00
mailsettingscontrollertest.php Show more detailed error message 2015-03-16 12:47:06 +01:00
securitysettingscontrollertest.php Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
userscontrollertest.php Merge pull request #15978 from owncloud/feature/fix-encryption-tooltips 2015-05-15 22:39:17 +02:00