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:
authorLukas Reschke <lukas@owncloud.com>2015-05-27 19:43:17 +0300
committerLukas Reschke <lukas@owncloud.com>2015-05-27 19:43:17 +0300
commitf9e258437f77bb81929b01d85201d8f39cfd3a0f (patch)
tree99e171e648d1789cbcd3fd2954aac1cd274b3ea5 /core
parentd5d3cbd50d4effd280d3a7a4ee1c3cafca1ac9c8 (diff)
Add check for availability of /dev/urandom
Backport of https://github.com/owncloud/core/pull/16565 to stable8
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'));
}