UNIX GPG

GNU Privacy Guard

Check

apt list --installed gnupg

apt list -a gnupg

yum list gnupg*

Install

apt update

apt install gnupg

Upgrade

apt update

apt upgrade gnupg

Usage

gpg --list-keys

Encrypt

gpg -c myfile.txt

gpg --symmetric myfile.txt

Decrypt

gpg -d myfile.txt.gpg

gpg -d myfile.txt.gpg -o newfile.txt

Bibliography