diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-07-18 09:42:57 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-07-18 09:42:57 +0200 |
commit | bd08849866ecf63090edf3c7b200c0f9253f4a52 (patch) | |
tree | 1c7593911420b4651e6219afcd68ad22a52c853e /apps/encryption | |
parent | 1addad98bf0e1ca32678e1ff6d09cce6746b6999 (diff) | |
download | nextcloud-server-bd08849866ecf63090edf3c7b200c0f9253f4a52.tar.gz nextcloud-server-bd08849866ecf63090edf3c7b200c0f9253f4a52.zip |
Fix sharing of encrypted files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/encryption')
-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', |