/** * Ensures the server has the correct cryptographic libraries installed by trying to generate salts and passwords * using these libraries */ private function validateCryptographicLibraries() { if (true === is_null($this->service->findOrMakeSimpleSAMLPassword())) { $this->errors[] = _t('RealMeSetupTask.ERR_SIMPLE_SAML_NO_ADMIN_PASS'); } if (true === is_null($this->service->generateSimpleSAMLSalt())) { $this->errors[] = _t('RealMeSetupTask.ERR_SIMPLE_SAML_NO_SALT'); } }