server/tests
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
..
acceptance
core fix tests 2015-05-18 12:11:32 +02:00
data add positive tests for operator in code checker 2015-05-05 13:09:12 +02:00
lib Get correct mimetype when moving and changing extension 2015-05-21 10:57:58 +02:00
settings Add check for availability of /dev/urandom 2015-05-26 14:16:07 +02:00
apps.php do not execute integration tests when executing autotest.sh 2015-05-15 16:38:21 +02:00
bootstrap.php kill OC_FileProxy 💥 2015-04-07 13:30:28 +02:00
enable_all.php Further cleanup of files_encryption 2015-04-07 13:30:28 +02:00
karma.config.js Added unit tests for download URL in public sharing page 2015-05-19 17:41:06 +02:00
phpunit-autotest-external.xml
phpunit-autotest.xml
phpunit.xml.dist
preseed-config.php Do not add apps2/ directory if it does not exist 2015-03-19 09:07:29 +01:00
startsessionlistener.php