-
Suppose I set up a gocryptfs directory inside of a cloud sync tool like Nextcloud, OneDrive, etc. The plaintext contents of the directory (when mounted locally, outside of the cloud storage) are something like:
and thus the encrypted contents look like this:
To save local disk space, I can configure my Nextcloud client to only sync This setup appears to work fine in my local testing, but I'm worried I'm setting up a weird race condition or something down the line. If there's no risk with this setup, I'd prefer it to having separate volumes because it means I can mount everything with one command/password. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This is fine. Note that, independently of partial or full sync, you can end up with sync conflicts on gocryptfs.diriv when you create the same directory independently on different copies that get synced later. This is because gocryptfs.diriv gets created with random content every time a directory is created. Example: PC 1:
Encrypted view:
PC 2:
Encrypted view:
After sync:
|
Beta Was this translation helpful? Give feedback.
This is fine.
Note that, independently of partial or full sync, you can end up with sync conflicts on gocryptfs.diriv when you create the same directory independently on different copies that get synced later.
This is because gocryptfs.diriv gets created with random content every time a directory is created.
Example:
PC 1:
Encrypted view:
PC 2:
Encrypted view:
After sync: