
178 Appendix B
GnuPG Configuration
GnuPG stores its configuration information, including key-
rings, in a directory. If you’re running Windows, you set the
location of this directory during the install. On Unix-like sys-
tems, that directory defaults to $HOME/.gnupg.
This directory contains three files of concern to most
users: gpg.conf, pubring.gpg, and secring.gpg. Your public
keyring is in pubring.gpg, and your private keyring is secring
.gpg. The gpg.conf file contains all of the GnuPG configura-
tion options.
Output Control
When working with GnuPG keys it’s important to decide how
the output should be handled. The -a (or --armor) flag tells
GnuPG to ...