Questions about Locking/concurrency/performance
A folder sync tool with encryption
Brought to you by:
steveking
Hi Stefan
CryptSync is a very interesting product. I would like to more information about two topics, namely... ...
Q1. Locking/concurrency: If I'm editing a big decrypted file and at the same time GoogleDrive (or any other sync plattform) is updating the encrypted pendant of this file (because I just modified this file in another computer earlier and GDrive is still doanloading it). What happens/Who wins?
Q2: The performance of encrypting: Can the compression-level of 7z be configured? How is the performance in comparison when using GnuPG instead of 7z?
I would appreciate if such information would be included in the documentation (FAQ perhaps?).
Thanks and keep on coding,
Tommi
First, you should try to avoid editing files on a cloud drive from multiple stations at the same time. Because the cloud drives create duplicate files in those situations. For example, onedrive will store such files with a ".computername1" extension if a file is edited on computer1 while it's also edited on computer2.
The same happens with CryptSync: if CryptSync tries to write a file that's currently open, it will try again later to sync it until it succeeds. So with CryptSync, the last one to write will win. But you could get the duplicate files from the cloud drive 'edit conflicts'.
As for the performance: I've never measured what's faster. But since 7z also compresses the files it should be slower than GnuPG, however GnuPG creates much bigger files.