9.2 To decipher and expand an encrypted archive

Assuming we used the previous step to archive and encrypt, the recipient can use the following command to decipher, uncompress and unarchive:

gpg -d folder.tgz.encrypted | tar xzvf -

Note that this command will ask you to enter the passphrase of the private key.