From bfcb2690f4bbba912098c8d1afc69640298ec871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <91878298+come-nc@users.noreply.github.com> Date: Mon, 8 Sep 2025 15:58:24 +0200 Subject: [PATCH] chore: Improve wording of logged error in apps/encryption/lib/KeyManager.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Louis Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> --- apps/encryption/lib/KeyManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/encryption/lib/KeyManager.php b/apps/encryption/lib/KeyManager.php index c504e70ba51..5292c0b746c 100644 --- a/apps/encryption/lib/KeyManager.php +++ b/apps/encryption/lib/KeyManager.php @@ -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); }