cozy-drive icon indicating copy to clipboard operation
cozy-drive copied to clipboard

feat: Support move for encrypted files

Open paultranvan opened this issue 2 years ago • 2 comments

This adds the possiilbity to move files from/to an encrypted folder.

3 scenarios are supported:

  • From a non-encrypted folder to an encrypted folder
  • From an encrypted folder to a non-encrypted folder
  • From an encrypted folder to another encrypted folder

Note we do not support the moving of non-encrypted folder to an encrypted one, because of the potential cost if it has a deep hierarchy and/or many files. However, the moving of an encrypted folder to is supported for both non-encrypted and encrypted folder, as the files remain encrypted with the same encryption key.

paultranvan avatar May 25 '22 12:05 paultranvan

@paultranvan CI red ?

JF-Cozy avatar May 30 '22 08:05 JF-Cozy

@JF-Cozy Yes, I had many issues because of the cozy-keys-lib mock :( I thought it was fixed, but not everywhere obviously, I have to check that.

paultranvan avatar May 30 '22 08:05 paultranvan