nextcloud/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
..
appsettingscontroller.php Add experimental applications switch 2015-04-03 13:21:24 +02:00
certificatecontroller.php Subadmin permissions are also not required 2015-05-12 18:08:10 +02:00
checksetupcontroller.php Add check for availability of /dev/urandom 2015-05-26 14:16:07 +02:00
encryptioncontroller.php allow user to start migration in admin settings if no external user back-ends are enabled 2015-04-16 14:15:04 +02:00
groupscontroller.php Update license headers 2015-03-26 11:44:36 +01:00
logsettingscontroller.php use StreamResponse to download the log file - fixes #14268 2015-03-27 11:30:32 +01:00
mailsettingscontroller.php Update license headers 2015-03-26 11:44:36 +01:00
securitysettingscontroller.php Update license headers 2015-03-26 11:44:36 +01:00
userscontroller.php Merge pull request #15978 from owncloud/feature/fix-encryption-tooltips 2015-05-15 22:39:17 +02:00