From 8900d030d1a6359a0b58b7257e3a3fd33db4a6a4 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Thu, 16 Mar 2023 14:53:51 +0100 Subject: Adapt code to new encryption system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lib/public/Encryption/IEncryptionModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/public/Encryption/IEncryptionModule.php') 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 -- cgit v1.2.3