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})
);
}
if(data.isUsedTlsLibOutdated){
messages.push(data.isUsedTlsLibOutdated);
}
}else{
messages.push(t('core','Error occurred while checking server setup'));
return(string)$this->l10n->t('cURL is using an outdated %s version (%s). Please update your operating system or features such as %s will not work reliably.',['OpenSSL',$versionString,$features]);
}
}
// Check if NSS and perform heuristic check
if(strpos($versionString,'NSS/')===0){
try{
$firstClient=$this->clientService->newClient();
$firstClient->get('https://www.owncloud.org/');
$secondClient=$this->clientService->newClient();
$secondClient->get('https://owncloud.org/');
}catch(ClientException$e){
if($e->getResponse()->getStatusCode()===400){
return(string)$this->l10n->t('cURL is using an outdated %s version (%s). Please update your operating system or features such as %s will not work reliably.',['NSS',$versionString,$features]);
}
}
}
return'';
}
/**
*@returnDataResponse
*/
@ -121,6 +188,7 @@ class CheckSetupController extends Controller {
$this->assertSame('cURL is using an outdated OpenSSL version (OpenSSL/1.0.1c). Please update your operating system or features such as installing and updating apps via the app store or Federated Cloud Sharing will not work reliably.',$this->invokePrivate($this->checkSetupController,'isUsedTlsLibOutdated'));
$this->assertSame('cURL is using an outdated OpenSSL version (OpenSSL/1.0.2a). Please update your operating system or features such as installing and updating apps via the app store or Federated Cloud Sharing will not work reliably.',$this->invokePrivate($this->checkSetupController,'isUsedTlsLibOutdated'));
$this->assertSame('cURL is using an outdated NSS version (NSS/1.0.2b). Please update your operating system or features such as installing and updating apps via the app store or Federated Cloud Sharing will not work reliably.',$this->invokePrivate($this->checkSetupController,'isUsedTlsLibOutdated'));