IceDrive & Encrypted Files

Discuss new features and functions
Posts: 16
Joined: 25 Nov 2019

Mwyarm

I use Icedrive as my cloud provider. They have the option for a user to store files either in an encrypted folder(s) or non-encrypted folder(s). I only store files in the non-encrypted folder which are fairly static and they are encrypted using Cryptomator. That works perfectly when I have FreeFileSynch to confirm my local Cryptomator encrypted files match the Cryptomator files stored in the cloud in Icedrive's non encrypted folder as they are exact matches.

However, I have a folder which has dynamic content (like all of my bills I paid in 2022 and 2023) and they are synched by the Icedrive desktop application into an encrypted folder on Icedrive. When I run FreeFileSynch to compare my non-encrypted local files with the encrypted files in the encrypted folder on Icedrive I get lots of mismatches because the file length is different. I assume that is because when files are encrypted it stores some extra characters increasing the file size. Obviously, because these files are dynamically changing every day with new content or updated content I am trying to avoid having to place the files in a Cryptomator vault where I would have to open the vault every day.

Can FreeFileSynch develop an option to determine if a file is encrypted in one of the pairs and have an option in settings similar to the time difference where I can set a value of an acceptable file size difference in the comparison and FreeFileSynch would categorize those files at the bottom of the screen as mismatches. For extra safety there could be a checkbox at the top of that pair where the user could indicate this pair (left pair as an example) has encrypted files which may be larger than the other pair (right pair). FreeFileSynch would list the files under that category so I can select just that category of files and do a cursory check of the files to confirm they are reasonable mismatches given the setting parameter. I would then click on that category to have them automatically removed as selected files for the synch (similar to when you click on a mismatched view and they are temporarily removed from the view but in this case they would be removed and not synched)? Obviously this is somewhat risky but it would help a lot.

Another consideration, but given I know very little to nothing about encrypted file methodologies, I assume every encryption model is not unique and therefore there is no set value for increased files sizes which can be systematically calculated. Meaning, there is no way to ask Icedrive what options they use to encrypt files such I could go to settings into FreeFileSync and setup that encrypted option and FreeFileSynch would emulate the unencrypted files on my local drive just to do the comparison and report they are equal? I know this is a stretch but this would be much cleaner than what I proposed above.

I am in hopes the Developer might find a way to simplify the comparison so I can "reasonably" determine the files in my unencrypted local folder matches those in the Icedrive encrypted folder. At this point just brainstorming in hopes it sparks an idea with the Developer.

Also, let me know if I posted this in the wrong folder for the Developer to see. Many Thanks!!!
User avatar
Posts: 4056
Joined: 11 Jun 2019

xCSxXenon

There is no real way to know if a file is encrypted instead of flat out modified. FFS won't be able to fit into that complex of a situation