Menu

#113 Decryption of files encrypted by Cryptsync

New
nobody
None
Medium
Enhancement
2014-09-08
2014-06-16
Anonymous
No

Originally created by: mrcordic...@gmail.com

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"

Discussion

  • Anonymous

    Anonymous - 2014-09-08

    Originally posted by: tortoisesvn

    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.

     
  • Anonymous

    Anonymous - 2014-09-08

    Originally posted by: Vinceco...@gmail.com

    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.

     
  • Anonymous

    Anonymous - 2014-09-08

    Originally posted by: tortoisesvn

    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.

     
  • Anonymous

    Anonymous - 2014-09-08

    Originally posted by: Vinceco...@gmail.com

    You're right, I did misunderstand. The decryption works perfectly now. Thank you so much.

     

Log in to post a comment.