Skip to content

Commit b28aa8b

Browse files
come-ncartonge
authored andcommitted
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>
1 parent e66e2fb commit b28aa8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/encryption/lib/KeyManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function validateMasterKey() {
137137
$masterKey = $this->getSystemPrivateKey($this->masterKeyId);
138138
$decryptedMasterKey = $this->crypt->decryptPrivateKey($masterKey, $this->getMasterKeyPassword(), $this->masterKeyId);
139139
if ($decryptedMasterKey === false) {
140-
$this->logger->error('A public master key is available but the decryption failed. This should never happen.');
140+
$this->logger->error('A public master key is available but decrypting it failed. This should never happen.');
141141
} else {
142142
$this->session->setPrivateKey($decryptedMasterKey);
143143
}

0 commit comments

Comments
 (0)