command line

PGP - Send Encrypted and Signed Message - gpg

Send a secret message over untrusted Internet. Encryption prevents anyone from reading your message. Signing protects your message from modification. Public keys allow you to establish trust without meeting physically.

This article shows how you can use PGP encryption with 'gpg' tool. We'll simulate two users to make it easy to practice. PGP is well known, highly secure standard for encryption.

Alice will send a signed, encrypted message to Tero. This is the most obvious, basic use of PGP.

Command Line Basics Revisited

The command line used in Linux and BSD has survived the test of time. It existed before Google, Web, Linux, Windows and even before the Internet. It's also convenient, fast, expressive and easy to automate. I use it every day.

$ pwd
/home/tero