I lost a 50MB gzipped file by having a system crash in the middle of decrypting it. Is there any way I can recover my data?

0
Posted

I lost a 50MB gzipped file by having a system crash in the middle of decrypting it. Is there any way I can recover my data?

0

If you had a system crash in the middle of encryption or decryption, and no backup copy of your file, you should be able to manually recover most of your data as follows: decrypt the corrupted file with the -m option; this will decrypt the part of the file which has already been encrypted (and produce garbage for the remaining part). You can then restore the original file manually by piecing the two parts together. This method loses between 32-63 bytes where the two parts (encrypted and unencrypted) meet, but it is better than nothing.

Related Questions