ECToo / cryptsync

Automatically exported from code.google.com/p/cryptsync
1 stars 0 forks source link

Decryption of files encrypted by Cryptsync #113

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. I encrypted a folder containing many subfolders and files using Cryptsync. 
The output was then uploaded to cloud storage for backup.
2. I downloaded the folder from cloud storage to my PC and right-clicked it to 
do an 'Extract All...' using 7-zip.
3. What I found was that although the folder was unzipped, all its contents 
with a .cyptsync extension were left intact. 

What is the expected output? What do you see instead?

Ideally, I'd like to have the option of using Cryptsync to decrypt a folder and 
the subfolders & files contained therein.

Alternatively, I'd like to know how I can use 7-zip for this purpose. I assume 
that there's a script available that invokes 7-zip with the necessary 
parameters.

What version of the product are you using? On what operating system?

1.2.0.264

Please provide any additional information below.

I did try a script I saw online, and it did do something, but it just opened 
hundreds of instances of 7-zip that ended with an application error. That's why 
it would be much cleaner if Cryptsync could be used to undo the encryption it 
previously performed.

Fyi, the script I used was:

FOR /R "Folder to be decrypted" %I IN (*.cryptsync *.zip) DO "Location of 7-zip 
.exe file" x "%I" -o"%~dpnI" -p"My encryption password"

Original issue reported on code.google.com by mrcordic...@gmail.com on 17 Jun 2014 at 6:17

GoogleCodeExporter commented 9 years ago
Just set up a sync pair with your downloaded folder, and leave the 
source/unencrypted folder empty.

CryptSync automatically decrypts everything from the encrypted folder to the 
source/unencrypted folder if that folder is empty.

Original comment by tortoisesvn on 8 Sep 2014 at 4:47

GoogleCodeExporter commented 9 years ago
Thank you for your reply.

I tried what you suggested. That is, I set up a sync pair with the downloaded 
folder as the encrypted folder while leaving the source folder blank. I also 
entered a password for the decryption. However, when I hit OK on the Sync Pair 
popup screen, as expected I was returned to the Cryptsync Options screen that 
shows the Folder Pairs. The only problem was that the new sync pair was not 
listed there. Is that right?

You say that "CryptSync automatically decrypts everything from the encrypted 
folder to the source/unencrypted folder if that folder is empty." How does 
Cryptsync know what the source folder is if the it's left empty when setting up 
the sync pair?

I'm obviously missing something.

Original comment by Vinceco...@gmail.com on 9 Sep 2014 at 12:57

GoogleCodeExporter commented 9 years ago
I think there's a misunderstanding here: you must not leave the 
source/unencrypted folder in the pair dialog empty, but the folder on your 
harddrive must be empty.
You still need to set up the sync pair the normal way.

Just the folder on your harddrive should be empty.

Original comment by tortoisesvn on 9 Sep 2014 at 6:01

GoogleCodeExporter commented 9 years ago
You're right, I did misunderstand. The decryption works perfectly now. Thank 
you so much.

Original comment by Vinceco...@gmail.com on 9 Sep 2014 at 6:54