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>
pull/54316/head
Côme Chilliet 2025-09-08 15:58:24 +07:00 committed by Côme Chilliet
parent bc5e29f9f2
commit bfcb2690f4
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
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);
}