Did you know we have a Forum? Come and say hi!
Follow GamingOnLinux on and
We use affiliate links to earn us some pennies. Learn more.

Password - Protect Tar.gz File [better]

To encrypt an existing .tar.gz :

tar -xzvf myfiles.tar.gz

Even when you encrypt a tar.gz file, the filename itself remains visible. An attacker can see secret_tax_evasion.tar.gz.enc even if they can't open it. Consider wrapping your encrypted file in a second layer (e.g., rename it to backup.dat ). password protect tar.gz file

openssl enc -d -aes-256-cbc -in encrypted.tar.gz -out - | tar -xzf - To encrypt an existing

While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register