apt-get install gnupg2
gpg --full-generate-key gpg --full-gen-key →~/.gnupg ディレクトリにキーリング(鍵)が作成される(公開鍵: pubring.kbx/秘密鍵: trustdb.gpg)
gpg --gen-key gpg --generate-key
quick-generate-key <user-id> quick-gen-key
gpg --list-keys
gpg -o <revoke-filename> --gen-revoke <email-address>
gpg --import <revoke-filename>
gpg -o <(out)pubkey-filename> -a --export <email-address>
gpg --import <pubkey-filename>
gpg --sign-key <email-address>
gpg -e -a -r <email-address> <target-file-name>
gpg <encrypted-file-name>
gpg <file-name> gpg --decrypt <encrypted-file-name>
gpg -o <(out)signed-filename> --sign <target-filename>
gpg --verify <signed-filename>