NET 4000 Chapter Notes - Chapter 12.9.4: Gnu Privacy Guard, Encryption
Document Summary
Gnu privacy guard (gnupg) is an encryption tool that encrypts and digitally signs email and also encrypts files. Gnupg is an implementation of the pretty good privacy (pgp) protocol. It uses public/private key encryption to secure information. Be aware of the following commands and files when using the gpg command at the shell prompt: Create a key pair. gpg --gen-key creates a gpg key pair. gpg --export key_owner_email > gpg. pub. Export the user"s public key to a file named gpg. pub. gpg --export jjones@acme. biz > gpg. pub exports a public key that people can use to send encrypted data to jjones. The jjones user will then use her private key to decrypt data encrypted with this public key. gpg --import filename. Add another user"s public key to the current user"s. Gpg key ring. gpg --import gpg. pub imports another user"s public key that was exported as a file named gpg. pub. gpg --list-keys.