diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-07-18 09:42:57 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-07-18 10:00:00 +0000 |
commit | d7ef87cc9545c3e30e669200ff98b8c17ff7d388 (patch) | |
tree | ab86e6d31634e638d46ec0256ff578937e719354 /apps | |
parent | 855e766caed8106b6cdf46182bc98d501762a731 (diff) | |
download | nextcloud-server-d7ef87cc9545c3e30e669200ff98b8c17ff7d388.tar.gz nextcloud-server-d7ef87cc9545c3e30e669200ff98b8c17ff7d388.zip |
Fix sharing of encrypted files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/encryption/lib/Crypto/Encryption.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/Crypto/Encryption.php b/apps/encryption/lib/Crypto/Encryption.php index 0bcaa167907..899d0f4315d 100644 --- a/apps/encryption/lib/Crypto/Encryption.php +++ b/apps/encryption/lib/Crypto/Encryption.php @@ -441,7 +441,7 @@ class Encryption implements IEncryptionModule { $this->keyManager->deleteAllFileKeys($path); foreach ($shareKeys as $uid => $keyFile) { - $this->keyManager->setShareKey($this->path, $uid, $keyFile); + $this->keyManager->setShareKey($path, $uid, $keyFile); } } else { $this->logger->debug('no file key found, we assume that the file "{file}" is not encrypted', |