encryption
encryption copied to clipboard
[QA] moving encrypted file to unencrypted FTP storage and back causes a decrypt error
Seen with v1.5.1-rc1 on 10.7.0 with user key encryption enabled.
- disable encryption for an SFTP external storage.
- upload a textfile hello_ftp.txt to the main storage, it gets encypted. OK
- use the Web UI to move the file into the SFTP storage. It gets decrypted. OK
- use the Web UI to move the file back to the main storage, it sometimes gets encrypted, sometimes the move fails, (Okayish? se below!), but also an error appears:

Expected behaviour: no useless error messages.
No error message appears, if the file is created inside the unencrypted SFTP storage, and then moved out.
Re-tested with 1.5.1-rc1 and hsmdaemon-0.0.8 enabled:
- Same diagnostics.
- The move back fails. The file is not re-encrypted. It remains unencrypted in the SFTP storage. BAD.
Fixed in 10.8.0
We want to release it together
https://github.com/owncloud/core/pull/38567