gpg –gen-key2. Generate an ASCII version of your public key.
gpg –armor –output pubkey.txt –export ‘Your Name’3. Register your key with public keyservers
gpg –send-keys ‘Your Name’4. Encrypt a file
gpg –encrypt –recipient ‘Your Name’ foo.txt5. Decrypt file
gpg –output foo.txt –decrypt foo.txt.gpg