Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QA] moving encrypted file to unencrypted FTP storage and back causes a decrypt error #281

Open
jnweiger opened this issue Jun 7, 2021 · 3 comments

Comments

@jnweiger
Copy link
Contributor

jnweiger commented Jun 7, 2021

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:
    image

Expected behaviour: no useless error messages.

No error message appears, if the file is created inside the unencrypted SFTP storage, and then moved out.

This was referenced Jun 7, 2021
@jnweiger jnweiger changed the title [QA] moving encrypted file to unencrypted FTP storage and back causes a decrypt error warning [QA] moving encrypted file to unencrypted FTP storage and back causes a decrypt error Jun 21, 2021
@jnweiger
Copy link
Contributor Author

jnweiger commented Jun 21, 2021

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.

@micbar
Copy link
Contributor

micbar commented Jun 21, 2021

Fixed in 10.8.0

We want to release it together

@micbar
Copy link
Contributor

micbar commented Jun 21, 2021

owncloud/core#38567

@jnweiger jnweiger mentioned this issue May 25, 2022
59 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants