The occ encrypt-all/decrypt-all is used to encrypt/decrypt all the files of user(s). It is mostly used when an admin want to enable/disable server-side encryption.
encrypt-all/decrypt-all only encrypts/decrypts the files but they shall be seen has unchanged by the user (modified date).
So after a encrypt-all/decrypt-all, the client shall not reload all the files.
After having occ encrypt-all/decrypt-all users, the client reloads ALL the files, the files modified date is changed.
Operating system: DEBIAN 8
Web server: APACHE 2
Database: MYSQL
PHP version: 7.0
nextcloud version: 12
Storage backend (external storage): NONE
PS: This issue was copied from https://github.com/owncloud/client/issues/5686
After having occ encrypt-all/decrypt-all users, the client reloads ALL the files, the files modified date is changed.
@schiessle @icewind1991 Could we turn this off?
This is really annoying as it can cause huge amounts of traffic.
The encryption app would either have to set all etags back after writing to the files, or bypass the etag updates altogether when doing it's decryption (meaning probably having to work directly with the underlying storage)
Is it solved by ownCloud issue https://github.com/owncloud/client/issues/5686? They are checking the hashes now..
@nextcloud/desktop is this fixed from https://github.com/owncloud/client/issues/5686 ?
@nextcloud/desktop is this fixed from owncloud/client#5686 ?
Yes, checked the code just now and the client should be verifying mtime and hash before a download (corresponding code is from 2017).
Most helpful comment
Is it solved by ownCloud issue https://github.com/owncloud/client/issues/5686? They are checking the hashes now..