GnuPG is pre-installed in Tails OS. You can verify it with:
gpg --version
- Click Applications → Accessories → Passwords and Keys.
- Use this tool to manage keys and encrypt/decrypt messages.
# Encrypt a file
gpg --armor --encrypt --recipient "Recipient Name" file.txt
# Decrypt a file
gpg --decrypt file.txt.asc
GnuPG is pre-installed in Whonix. You can verify it with:
gpg --version
# Encrypt a file
gpg --armor --encrypt --recipient "Recipient Name" file.txt
# Decrypt a file
gpg --decrypt file.txt.asc
In Qubes OS with Whonix, you can use split GPG for security:
qvm-run --pass-io vault "echo 'Your Message' | gpg --armor --encrypt --recipient 'Recipient Name'"
GnuPG is pre-installed in Qubes. Verify it with:
gpg --version
In Qubes OS, you can separate GPG operations from the main system using the vault qube.
Run these commands inside your vault qube:
# Encrypt a file
echo "Your secret message" | gpg --armor --encrypt --recipient "Recipient Name"
# Decrypt a file
gpg --decrypt file.txt.asc
# Sign a message
echo "Verified message" | gpg --clearsign
# Verify a signed file
gpg --verify file.txt.asc
# Export Public Key
gpg --export --armor > public_key.asc
# Export Private Key
gpg --export-secret-keys --armor > private_key.asc
gpg --import public_key.asc
gpg --import private_key.asc