1 # These first three lines are not copied to the gpg.conf file in
2 # the users home directory.
5 # Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
7 # This file is free software; as a special exception the author gives
8 # unlimited permission to copy and/or distribute it, with or without
9 # modifications, as long as this notice is preserved.
11 # This file is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
13 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 # Unless you specify which option file to use (with the command line
16 # option "--options filename"), GnuPG uses the file ~/.gnupg/gpg.conf
19 # An options file can contain any long options which are available in
20 # GnuPG. If the first non white space character of a line is a '#',
21 # this line is ignored. Empty lines are also ignored.
23 # See the man page for a list of options.
25 # Uncomment the following option to get rid of the copyright notice
29 # If you have more than 1 secret key in your keyring, you may want to
30 # uncomment the following option and set your preferred keyid.
34 # If you do not pass a recipient to gpg, it will ask for one. Using
35 # this option you can encrypt to a default key. Key validation will
36 # not be done in this case. The second form uses the default key as
39 #default-recipient some-user-id
40 #default-recipient-self
42 # By default GnuPG creates version 3 signatures for data files. This
43 # is not strictly OpenPGP compliant but PGP 6 and most versions of PGP
44 # 7 require them. To disable this behavior, you may use this option
49 # Because some mailers change lines starting with "From " to ">From "
50 # it is good to handle such lines in a special way when creating
51 # cleartext signatures; all other PGP versions do it this way too.
52 # To enable full OpenPGP compliance you may want to use this option.
56 # When verifying a signature made from a subkey, ensure that the cross
57 # certification "back signature" on the subkey is present and valid.
58 # This protects against a subtle attack against subkeys that can sign.
59 # Defaults to --no-require-cross-certification. However for new
60 # installations it should be enabled.
62 require-cross-certification
65 # If you do not use the Latin-1 (ISO-8859-1) charset, you should tell
66 # GnuPG which is the native character set. Please check the man page
67 # for supported character sets. This character set is only used for
68 # metadata and not for the actual message which does not undergo any
69 # translation. Note that future version of GnuPG will change to UTF-8
70 # as default character set.
74 # Group names may be defined like this:
75 # group mynames = paige 0x12345678 joe patti
77 # Any time "mynames" is a recipient (-r or --recipient), it will be
78 # expanded to the names "paige", "joe", and "patti", and the key ID
79 # "0x12345678". Note there is only one level of expansion - you
80 # cannot make an group that points to another group. Note also that
81 # if there are spaces in the recipient name, this will appear as two
82 # recipients. In these cases it is better to use the key ID.
84 #group mynames = paige 0x12345678 joe patti
86 # Some old Windows platforms require 8.3 filenames. If your system
87 # can handle long filenames, uncomment this.
89 #no-mangle-dos-filenames
91 # Lock the file only once for the lifetime of a process. If you do
92 # not define this, the lock will be obtained and released every time
93 # it is needed - normally this is not needed.
97 # GnuPG can send and receive keys to and from a keyserver. These
98 # servers can be HKP, email, or LDAP (if GnuPG is built with LDAP
101 # Example HKP keyservers:
102 # hkp://keys.gnupg.net
103 # hkp://subkeys.pgp.net
105 # Example email keyserver:
106 # mailto:pgp-public-keys@keys.pgp.net
108 # Example LDAP keyservers:
109 # ldap://pgp.surfnet.nl:11370
110 # ldap://keyserver.pgp.com
112 # Regular URL syntax applies, and you can set an alternate port
113 # through the usual method:
114 # hkp://keyserver.example.net:22742
116 # If you have problems connecting to a HKP server through a buggy http
117 # proxy, you can use keyserver option broken-http-proxy (see below),
118 # but first you should make sure that you have read the man page
119 # regarding proxies (keyserver option honor-http-proxy)
121 # Most users just set the name and type of their preferred keyserver.
122 # Note that most servers (with the notable exception of
123 # ldap://keyserver.pgp.com) synchronize changes with each other. Note
124 # also that a single server name may actually point to multiple
125 # servers via DNS round-robin. hkp://keys.gnupg.net is an example of
126 # such a "server", which spreads the load over a number of physical
127 # servers. To see the IP address of the server actually used, you may use
128 # the "--keyserver-options debug".
130 keyserver hkp://keys.gnupg.net
131 #keyserver mailto:pgp-public-keys@keys.nl.pgp.net
132 #keyserver ldap://pgp.surfnet.nl:11370
133 #keyserver ldap://keyserver.pgp.com
135 # Common options for keyserver functions:
137 # include-disabled = when searching, include keys marked as "disabled"
138 # on the keyserver (not all keyservers support this).
140 # no-include-revoked = when searching, do not include keys marked as
141 # "revoked" on the keyserver.
143 # verbose = show more information as the keys are fetched.
144 # Can be used more than once to increase the amount
145 # of information shown.
147 # use-temp-files = use temporary files instead of a pipe to talk to the
148 # keyserver. Some platforms (Win32 for one) always
151 # keep-temp-files = do not delete temporary files after using them
152 # (really only useful for debugging)
154 # honor-http-proxy = if the keyserver uses HTTP, honor the http_proxy
155 # environment variable
157 # broken-http-proxy = try to work around a buggy HTTP proxy
159 # auto-key-retrieve = automatically fetch keys as needed from the keyserver
160 # when verifying signatures or when importing keys that
161 # have been revoked by a revocation key that is not
162 # present on the keyring.
164 # no-include-attributes = do not include attribute IDs (aka "photo IDs")
165 # when sending keys to the keyserver.
167 #keyserver-options auto-key-retrieve
169 # Uncomment this line to display photo user IDs in key listings and
170 # when a signature from a key with a photo is verified.
174 # Use this program to display photo user IDs
176 # %i is expanded to a temporary file that contains the photo.
177 # %I is the same as %i, but the file isn't deleted afterwards by GnuPG.
178 # %k is expanded to the key ID of the key.
179 # %K is expanded to the long OpenPGP key ID of the key.
180 # %t is expanded to the extension of the image (e.g. "jpg").
181 # %T is expanded to the MIME type of the image (e.g. "image/jpeg").
182 # %f is expanded to the fingerprint of the key.
183 # %% is %, of course.
185 # If %i or %I are not present, then the photo is supplied to the
186 # viewer on standard input. If your platform supports it, standard
187 # input is the best way to do this as it avoids the time and effort in
188 # generating and then cleaning up a secure temp file.
190 # The default program is "xloadimage -fork -quiet -title 'KeyID 0x%k' stdin"
191 # On Mac OS X and Windows, the default is to use your regular JPEG image
194 # Some other viewers:
195 # photo-viewer "qiv %i"
196 # photo-viewer "ee %i"
197 # photo-viewer "display -title 'KeyID 0x%k'"
199 # This one saves a copy of the photo ID in your home directory:
200 # photo-viewer "cat > ~/photoid-for-key-%k.%t"
202 # Use your MIME handler to view photos:
203 # photo-viewer "metamail -q -d -b -c %T -s 'KeyID 0x%k' -f GnuPG"