diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-05-27 18:43:17 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-05-27 18:43:17 +0200 |
commit | f9e258437f77bb81929b01d85201d8f39cfd3a0f (patch) | |
tree | 99e171e648d1789cbcd3fd2954aac1cd274b3ea5 /core | |
parent | d5d3cbd50d4effd280d3a7a4ee1c3cafca1ac9c8 (diff) | |
download | nextcloud-server-f9e258437f77bb81929b01d85201d8f39cfd3a0f.tar.gz nextcloud-server-f9e258437f77bb81929b01d85201d8f39cfd3a0f.zip |
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.js | 5 |
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')); } |