aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Encryption
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-03-16 14:53:51 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-03-17 11:08:58 +0100
commit8900d030d1a6359a0b58b7257e3a3fd33db4a6a4 (patch)
tree5e32030a28cc1fb245d38098da7d84cb93a25e5d /lib/public/Encryption
parentfbe282caeb7dd0d91435f6f547db027e500e248a (diff)
downloadnextcloud-server-8900d030d1a6359a0b58b7257e3a3fd33db4a6a4.tar.gz
nextcloud-server-8900d030d1a6359a0b58b7257e3a3fd33db4a6a4.zip
Adapt code to new encryption system
fileKey gets deleted upon save as it’s stored in shareKeys instead now. We use presence of a fileKey to detect if a file is using the legacy system or the new one, because we do not always have access to header data. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/Encryption')
-rw-r--r--lib/public/Encryption/IEncryptionModule.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Encryption/IEncryptionModule.php b/lib/public/Encryption/IEncryptionModule.php
index d0ae430a81a..37db2729335 100644
--- a/lib/public/Encryption/IEncryptionModule.php
+++ b/lib/public/Encryption/IEncryptionModule.php
@@ -60,7 +60,7 @@ interface IEncryptionModule {
* @param array $header contains the header data read from the file
* @param array $accessList who has access to the file contains the key 'users' and 'public'
*
- * $return array $header contain data as key-value pairs which should be
+ * @return array $header contain data as key-value pairs which should be
* written to the header, in case of a write operation
* or if no additional data is needed return a empty array
* @since 8.1.0