Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-06-09 17:55:41 +0300
committerJoas Schilling <nickvergessen@gmx.de>2015-06-09 17:55:41 +0300
commit7dabbf93403c3123dcdb4bb7a0e36dcc441f0cdf (patch)
treec94a17b406feb578866a2340e08ec858a118303f /core
parent1a8aae7282ca5ecdd7c2e2f54f5c2a99ec23eda4 (diff)
parentf9e258437f77bb81929b01d85201d8f39cfd3a0f (diff)
Merge pull request #16596 from owncloud/backport-16565
Add check for availability of /dev/urandom
Diffstat (limited to 'core')
-rw-r--r--core/js/setupchecks.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index d43a356999c..e6b375d0519 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -64,6 +64,11 @@
t('core', 'cURL is not installed, some functionality might not work. Please install the PHP cURL extension. Future versions will require installed cURL.')
);
}
+ if(!data.isUrandomAvailable) {
+ messages.push(
+ t('core', '/dev/urandom is not readable by PHP which is highly discouraged for security reasons. Further information can be found in our <a href="{docLink}">documentation</a>.', {docLink: data.securityDocs})
+ );
+ }
} else {
messages.push(t('core', 'Error occurred while checking server setup'));
}