GPG: Sign, Encrypt, Decrypt and Finding public keys!
Searching for a key:
$ gpg --search edward-en@fsf.org
gpg: data source: http://162.213.33.9:11371
(1) Edward, the GPG Bot <edward-en@fsf.org>
爱德华,一个友好的 GnuPG 机器人 <edward-zh@fsf.org>
Edward, el simpático robot GnuPG <edward-es@fsf.org>
Edward, l'amichevole bot GnuPG <edward-it@fsf.org>
Edward, arkadaş canlısı GnuPG botu <edward-tr@fsf.org>
Edward, o amigo robô de GnuPG <edward-pt-br@fsf.org>
Edward, le gentil robot de GnuPG <edward-fr@fsf.org>
Edward, der freundliche GnuPG Roboter <edward-de@fsf.org>
GnuPGボットのEdward <edward-ja@fsf.org>
Edward, robotul GnuPG cel prietenos <edward-ro@fsf.org>
Edward, το φιλικό ρομπότ του GnuPG <edward-el@fsf.org
Эдвард, дружелюбный GnuPG бот <edward-ru@fsf.org>
Edward the GPG Bot <edward@fsf.org>
2048 bit RSA key 0x9FF2194CC09A61E8, created: 2014-06-29
Keys 1-1 of 1 for "edward-en@fsf.org". Enter number(s), N)ext, or Q)uit > 1
gpg: key 0x9FF2194CC09A61E8: 7467 signatures not checked due to missing keys
gpg: key 0x9FF2194CC09A61E8: public key "Edward, the GPG Bot <edward-en@fsf.org>" imported
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Total number processed: 1
gpg: imported: 1
Encrypt an message!
$ echo "test message string" | gpg --encrypt --armor --recipient 0x9FF2194CC09A61E8
Note: when sending e-mails with encrypted messages, be aware the subject is not encrypted in the email, so don't place any sensitive bits on your subject line!
Decrypt an message!
$ gpg --decrypt --armor file.txt
Sign an message!
$ echo "test message string" | gpg --armor --clearsign
Verify a Signature
$ gpg --verify signed-message.txt
gpg: Signature made Wed Nov 20 16:02:48 2019 PST
gpg: using RSA key 38A271FFFC41C518460A9E22A5A3330518BEE712
gpg: Good signature from "Dr. Ogg <ogg@sr375.com>" [ultimate]
Primary key fingerprint: 9A53 E6A0 DC15 2759 E944 D557 585C 80B6 5341 6059
Subkey fingerprint: 38A2 71FF FC41 C518 460A 9E22 A5A3 3305 18BE E712