diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-06-09 17:55:41 +0300 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-06-09 17:55:41 +0300 |
commit | 7dabbf93403c3123dcdb4bb7a0e36dcc441f0cdf (patch) | |
tree | c94a17b406feb578866a2340e08ec858a118303f /core | |
parent | 1a8aae7282ca5ecdd7c2e2f54f5c2a99ec23eda4 (diff) | |
parent | f9e258437f77bb81929b01d85201d8f39cfd3a0f (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.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')); } |