Hello,
I am using Nextcloud 13.0.2 / PHP 7.2 (CGI) and have got a problem regarding the server-side encryption.
I want to encrypt every file one my cloud for every user so I have activated server-side encryption with default encryption module and with encryption of the home storage.
My file structure looks like this now for every user:
/data/userXXX/cache
/data/userXXX/files
/data/userXXX/files_encryption
/data/userXXX/files_trashbin
If I create a folder test_folder and upload a file test_file.jpg to it the following happens:
Nextcloud saves the file unencrypted to /data/userXXX/files/test_folder/test_file.jpg but in addition Nextcloud creates the following: /data/userXXX/files_encryption/keys/files/test_file.jpg/OC_DEFAULT_MODULE/fileKey + /data/userXXX/files_encryption/keys/files/test_file.jpg/OC_DEFAULT_MODULE/master_XXXXXXXX.shareKey
Can anyone explain that to me? Why is the test_file.jpg not encrypted?
Thank you so much in advance!