⚠️ This issue respects the following points: ⚠️
Bug description
Dear Nextcloud team,
when we install the latest Nextcloud 29 and enable default encryption module + server side encryption after uploading files, we are missing the fileKey as stated in the documentation:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/encryption_details.html#file-type-file-key-file
What we see on the server after uploading test files:
Private public share key: data/files_encryption/OC_DEFAULT_MODULE/pubShare_xxx.privateKey
Public public share key: data/files_encryption/OC_DEFAULT_MODULE/pubShare_xxx.publicKey
Private public master key: data/files_encryption/OC_DEFAULT_MODULE/master_xxx.privateKey
Public public master key: data/files_encryption/OC_DEFAULT_MODULE/master_xxx.publicKey
Share keys for files owned by the user: data//files_encryption/keys/<file_path>/OC_DEFAULT_MODULE/master_xxx.shareKey
-
We would have expected one more fileKey file in: data//files_encryption/keys/files/<file_path>/OC_DEFAULT_MODULE/fileKey"
-
We would like to test a manual decryption like used here: https://github.com/syseleven/nextcloud-tools/blob/master/debug/decrypt-file.php which expects the fileKey as well.
Best regards
User
Steps to reproduce
- Install Nextcloud 29
- Activate App default encryption module
- Enable Server side Encryption
- Upload some files into the server
- No fileKey is generated in data//files_encryption/keys/files/<file_path>/OC_DEFAULT_MODULE/fileKey"
Expected behavior
fileKey file is generated in data//files_encryption/keys/files/<file_path>/OC_DEFAULT_MODULE/fileKey" for each encrypted file
Installation method
None
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
Bug description
Dear Nextcloud team,
when we install the latest Nextcloud 29 and enable default encryption module + server side encryption after uploading files, we are missing the fileKey as stated in the documentation:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/encryption_details.html#file-type-file-key-file
What we see on the server after uploading test files:
Private public share key: data/files_encryption/OC_DEFAULT_MODULE/pubShare_xxx.privateKey
Public public share key: data/files_encryption/OC_DEFAULT_MODULE/pubShare_xxx.publicKey
Private public master key: data/files_encryption/OC_DEFAULT_MODULE/master_xxx.privateKey
Public public master key: data/files_encryption/OC_DEFAULT_MODULE/master_xxx.publicKey
Share keys for files owned by the user: data//files_encryption/keys/<file_path>/OC_DEFAULT_MODULE/master_xxx.shareKey
We would have expected one more fileKey file in: data//files_encryption/keys/files/<file_path>/OC_DEFAULT_MODULE/fileKey"
We would like to test a manual decryption like used here: https://github.com/syseleven/nextcloud-tools/blob/master/debug/decrypt-file.php which expects the fileKey as well.
Best regards
User
Steps to reproduce
Expected behavior
fileKey file is generated in data//files_encryption/keys/files/<file_path>/OC_DEFAULT_MODULE/fileKey" for each encrypted file
Installation method
None
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response