Transfer ownership with encryption break files -> bad signature #24095

schiessle opened this Issue Apr 19, 2016 · 0 comments


None yet

2 participants


Steps to reproduce

  1. Create 2 oC users, user1 and user2
  2. Log in with user1
  3. Create a file.txt with some content
  4. Log in as admin user and enable encryption
  5. Log out and log in as admin.
  6. login as user2 (to make sure that user2 has a private and a public key)
  7. As admin via CLI run --> sudo -u www-data ./occ files:transfer-ownership user1 user2

Expected behaviour

All files are transfered from user1 to user2. Files for user2 should be encrypted and the user should be able to read the files

Actual behaviour

Files are transfered correctly. The transfered files are encrypted but the user can't read them because of a bad signature error.

@LukasReschke can you have a look at it? Thanks!

Marked as critical because it result in data lost.

@schiessle schiessle added this to the 9.0.2-current-maintenance milestone Apr 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment