manpagez: man pages & more
info gnupg
Home | html | info | man

File: gnupg.info,  Node: Listing global options,  Next: Querying versions,  Prev: Changing options,  Up: gpgconf

10.4.7 Listing global options
-----------------------------

Some legacy applications look at the global configuration file for the
gpgconf tool itself; this is the file 'gpgconf.conf'.  Modern
applications should not use it but use per component global
configuration files which are more flexible than the 'gpgconf.conf'.
Using both files is not suggested.

   The colon separated listing format is record oriented and uses the
first field to identify the record type:

'k'
     This describes a key record to start the definition of a new
     ruleset for a user/group.  The format of a key record is:

     'k:USER:GROUP:'

     USER
          This is the user field of the key.  It is percent escaped.
          See the definition of the gpgconf.conf format for details.

     GROUP
          This is the group field of the key.  It is percent escaped.

'r'
     This describes a rule record.  All rule records up to the next key
     record make up a rule set for that key.  The format of a rule
     record is:

     'r:::COMPONENT:OPTION:FLAG:VALUE:'

     COMPONENT
          This is the component part of a rule.  It is a plain string.

     OPTION
          This is the option part of a rule.  It is a plain string.

     FLAG
          This is the flags part of a rule.  There may be only one flag
          per rule but by using the same component and option, several
          flags may be assigned to an option.  It is a plain string.

     VALUE
          This is the optional value for the option.  It is a percent
          escaped string with a single quotation mark to indicate a
          string.  The quotation mark is only required to distinguish
          between no value specified and an empty string.

Unknown record types should be ignored.  Note that there is
intentionally no feature to change the global option file through
'gpgconf'.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.