gpg.conf

Michel Messerschmidt lists at michel-messerschmidt.de
Mon Nov 2 12:09:34 CET 2009


On Mon, Nov 02, 2009 at 10:51:46AM -0000, David Gray wrote:
> Could anyone point me in the right direction for a manual/examples 
> on how to edit the gpg.conf file for GnuPG 2.0.12 (GPG 4 Win)? 

http://www.gnupg.org/documentation/manuals/gnupg/Invoking-GPG.html#Invoking-GPG

Within this manual you'll find:
###
gpg.conf
    This is the standard configuration file read by gpg2 on startup. It may contain any valid long option; the leading two dashes may not be entered and the option may not be abbreviated. This default name may be changed on the command line (see option –options). You should backup this file.
###

Valid options are listed in 
http://www.gnupg.org/documentation/manuals/gnupg/GPG-Options.html#GPG-Options



> I would like to see examples of how to add further keyrings

Use the "keyring" option:
--keyring file
    Add file to the current list of keyrings. If file begins with a tilde and a slash, these are replaced by the $HOME directory. If the filename does not contain a slash, it is assumed to be in the GnuPG home directory ("~/.gnupg" if --homedir or $GNUPGHOME is not used).

    Note that this adds a keyring to the current list. If the intent is to use the specified keyring alone, use --keyring along with --no-default-keyring. 



HTH,
Michel



More information about the Gnupg-users mailing list