summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2023-07-18 13:59:48 +0200
committerGitHub <noreply@github.com>2023-07-18 13:59:48 +0200
commit281117a2fbc6bae33e5cc9612cf682af1a76ea63 (patch)
treeab86e6d31634e638d46ec0256ff578937e719354 /apps
parent855e766caed8106b6cdf46182bc98d501762a731 (diff)
parentd7ef87cc9545c3e30e669200ff98b8c17ff7d388 (diff)
downloadnextcloud-server-281117a2fbc6bae33e5cc9612cf682af1a76ea63.tar.gz
nextcloud-server-281117a2fbc6bae33e5cc9612cf682af1a76ea63.zip
Merge pull request #39454 from nextcloud/backport/39447/stable27
[stable27] Fix sharing of encrypted files
Diffstat (limited to 'apps')
-rw-r--r--apps/encryption/lib/Crypto/Encryption.php2
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',