Since updating to 9.0.14, the Seafile client on two Mac computers shows the error “Encryption key is corrupted. Please create a new library and upload files again” for one library. The library can be unsynced and synced again, which results in the correct content being downloaded, but it won’t sync further changes to the content. On this initial sync it will however find everything new updated by older client versions and none of the content is corrupted.
This does not seem to happen with 9.0.13 or older, which all seem to happily update content both ways. The server is CE 12.0.14.
Starting from version 9.0.14, we added a check to verify whether the file contents are properly encrypted. In older client versions, file contents might have been incorrectly encrypted.
Therefore, if you encounter this error, it is recommended to create a new encrypted library and re-upload the files. Re-sync will skip this check, so no error will be reported.
Could you explain in what way they’re incorrectly encrypted since there doesn’t seem to be any integrity problem with the files? Is it encrypted with a weaker cipher, not at all or what?
One possible cause of this issue is a bug in the deletion confirmation in the older version. The files in the encrypted library were indeed encrypted, but the wrong key was used during the encryption process. In the newer version, this problem has been addressed, allowing files to sync normally. Additionally, a prompt has been added to inform users of the issue and guide them in taking appropriate action.