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

feat: Support move for encrypted files #2609

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Commits on May 27, 2022

  1. refactor: Adapt encryption methods

    We now differenciate encryption key from decryption key, to add some
    context. This is useful to better understand when a file is decrypted or
    encrypted, even if it's with the same key.
    paultranvan committed May 27, 2022
    Configuration menu
    Copy the full SHA
    ccd371c View commit details
    Browse the repository at this point in the history
  2. feat: Add existing file encryption, decryption and reecryption

    These methods are useful when moving an existing file to a different
    location, with a different encryption context.
    paultranvan committed May 27, 2022
    Configuration menu
    Copy the full SHA
    9ab58f9 View commit details
    Browse the repository at this point in the history
  3. feat: Support move for encrypted files

    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 committed May 27, 2022
    Configuration menu
    Copy the full SHA
    bbefc0e View commit details
    Browse the repository at this point in the history