My various dotfiles

gpg.conf 7.5KB

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