• encryption with gpg

    December 31, 2014
    1. Generate a private key. gpg –gen-key 2. 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.txt 5. Decrypt file gpg –output foo.txt –decrypt foo.txt.gpg