Skip to content

directory iv may be lost when using cloud sync apps #151

@yanjiew1

Description

@yanjiew1

Think of the following situation:

Computer A and Computer B shares some file using cloud sync apps.
They use gocryptfs to encrypt the files on the cloud.

  1. Computer A and Computer B are both offline.
  2. Create a directory in the root directory named "Example" in the Computer A.
  3. Store some files in "/Example"
  4. Create a directory in the root directory named "Example" in the Computer B.
  5. Store some files in "/Example"
  6. Make Computer A and Computer B online.

The conflict happened because of the same file name "gocryptfs.diriv," which stores the iv to decrypt the filename.
If one computer overwrites the gocryptfs.diriv that another computer uploads, the directory iv will be lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions