uncompress gzipped encrypted file

0

I have got a backfile with extension .tar.gz.enc. After fooling around I found out that it is encrypted gzipped tarball.

Now I want know how to decrypt it.

TheVillageIdiot

Posted 2011-03-15T19:21:21.440

Reputation: 1 187

Answers

3

If you don't know the encryption algorithm and the keys, well ... you're screwed (mostly).

M'vy

Posted 2011-03-15T19:21:21.440

Reputation: 3 540

well I know it mostly :D what I'm interested in is the part that is left outside mostly. – TheVillageIdiot – 2011-03-15T19:50:51.807

1Well, the other side of the "mostly" is to try guessing the algorithm and do some cryptologic attack on that particular algorithm (dedicated or brute force). The possibilities are very broad... so I would not count on that. I do not know, but it may exists some software that tries encryption cracking and/or identifying. But basically if the original owner took enough precautions... it tends to be impossible to succeed now. – M'vy – 2011-03-15T19:56:44.860

1

I encrypt my backups with

openssl aes-256-ecb -e -a -salt -in backup.tar.gz -out backup.tar.gz.enc

And decrypt then the same way (just replace -e with -d). Openssl asks me for a passphrase, and without that passphrase, nobody will ever (say, in the next 15 years) decrypt the archive.

So,yeah, you're screwer unless you know the passphrase. If you do, try different openssl commands and maybe one will work.

Julien Vehent

Posted 2011-03-15T19:21:21.440

Reputation: 311

You are assuming the asker uses OpenSSL for encryption. – user1686 – 2011-03-16T12:28:01.983

1I'm just saying this is a possibility, and emphasizing that nothing can be done without the passphrase. – Julien Vehent – 2011-03-16T16:01:59.267