Enter your password when prompted. GPG will decrypt the stream and pipe it directly to tar for extraction.
Here, the -d flag tells OpenSSL to decrypt the file.
tar -cvzf - directory_name | gpg -c > archive.tar.gz.gpg This pipes the compressed tarball directly into GPG.
When prompted, she entered a strong, unique passphrase. Now audit_report.enc was a single, encrypted binary file.