Open source
  • Bandwidth benchmark
  • TouchWidgets UI lib
  • Diviner big number math
  • Documentation
  • x86 instructions ref
  • GIT quick ref
  • GPG quick ref
  • Avoid Ubuntu
  • Android malware risks
  • iOS malware risks
  • OS/X security tips
  • Who blocks Tor
  • Software engineering
  • BASH aliases
  • I.B. pro/con
  • Nutrition
  • Other apps
  • Blog
  • Contact
    1 at zsmith dot co

    GNU Privacy Guard (GPG) Quick Reference

    Revision 2
    © by
    All rights reserved.

    Handy GPG commands

    To encrypt a file with a password gpg -c file
    To decrypt a file using a password gpg -d file
    To import someone's public key gpg --import public.key
    To print your public key as ASCII gpg --armor --export
    To encrypt a file you are sending to someone gpg -e -u "Sender Name" -r "Receiver Name" filename
    To encrypt a file using your private key gpg -e file
    To decrypt a file using your private key gpg -d file
    To create a new public and private key pair associated with an email address gpg --gen-key

    Don't have GPG? Use OpenSSL.

    To encrypt:
    openssl des3 -salt -out file.des3 -in file.zip
    
    To decrypt:
    openssl des3 -salt -d -in file.des3 -out file2.zip
    




    © Zack Smith