mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 17:48:40 -04:00
chore: Improve wording of logged error in apps/encryption/lib/KeyManager.php
Co-authored-by: Louis <louis@chmn.me> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
This commit is contained in:
parent
bc5e29f9f2
commit
bfcb2690f4
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ class KeyManager {
|
|||
$masterKey = $this->getSystemPrivateKey($this->masterKeyId);
|
||||
$decryptedMasterKey = $this->crypt->decryptPrivateKey($masterKey, $this->getMasterKeyPassword(), $this->masterKeyId);
|
||||
if ($decryptedMasterKey === false) {
|
||||
$this->logger->error('A public master key is available but the decryption failed. This should never happen.');
|
||||
$this->logger->error('A public master key is available but decrypting it failed. This should never happen.');
|
||||
} else {
|
||||
$this->session->setPrivateKey($decryptedMasterKey);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue