2007-03-06 20:44:41 +00:00
|
|
|
# gpgconf.conf - configuration for gpgconf
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
# This file is read by gpgconf(1) to setup defaults for all or
|
|
|
|
# specified users and groups. It may be used to change the hardwired
|
|
|
|
# defaults in gpgconf and to enforce certain values for the various
|
|
|
|
# GnuPG related configuration files.
|
|
|
|
#
|
|
|
|
# Empty lines and comment lines, indicated by a hash mark as first non
|
|
|
|
# white space character, are ignored. The line is separated by white
|
|
|
|
# space into fields. The first field is used to match the user or
|
2016-12-16 16:00:15 +01:00
|
|
|
# group and must start at the first column, the file is processed
|
2007-10-23 18:13:27 +00:00
|
|
|
# sequential until a matching rule is found. A rule may contain
|
|
|
|
# several lines; continuation lines are indicated by a indenting them.
|
2007-03-06 20:44:41 +00:00
|
|
|
#
|
|
|
|
# Syntax of a line:
|
|
|
|
# <key>|WS <component> <option> ["["<flag>"]"] [<value>]
|
|
|
|
#
|
|
|
|
# Examples for the <key> field:
|
|
|
|
# foo - Matches the user "foo".
|
|
|
|
# foo: - Matches the user "foo".
|
|
|
|
# foo:staff - Matches the user "foo" or the group "staff".
|
|
|
|
# :staff - Matches the group "staff".
|
|
|
|
# * - Matches any user.
|
|
|
|
# All other variants are not defined and reserved for future use.
|
|
|
|
#
|
2016-12-16 16:00:15 +01:00
|
|
|
# <component> and <option> are as specified by gpgconf.
|
2007-03-06 20:44:41 +00:00
|
|
|
# <flag> may be one of:
|
|
|
|
# default - Delete the option so that the default is used.
|
|
|
|
# no-change - Mark the field as non changeable by gpgconf.
|
|
|
|
# change - Mark the field as changeable by gpgconf.
|
|
|
|
#
|
|
|
|
# Example file:
|
|
|
|
#==========
|
2017-12-18 12:05:02 +01:00
|
|
|
# :staff gpg-agent min-passphrase-len 6 [change]
|
2007-03-06 20:44:41 +00:00
|
|
|
#
|
2007-08-29 09:51:37 +00:00
|
|
|
# * gpg-agent min-passphrase-len [no-change] 8
|
2016-12-16 16:00:15 +01:00
|
|
|
# gpg-agent min-passphrase-nonalpha [no-change] 1
|
2007-08-29 09:51:37 +00:00
|
|
|
# gpg-agent max-passphrase-days [no-change] 700
|
|
|
|
# gpg-agent enable-passphrase-history [no-change]
|
2007-10-23 18:13:27 +00:00
|
|
|
# gpg-agent enforce-passphrase-constraints [default]
|
|
|
|
# gpg-agent enforce-passphrase-constraints [no-change]
|
2007-08-29 09:51:37 +00:00
|
|
|
# gpg-agent max-cache-ttl [no-change] 10800
|
|
|
|
# gpg-agent max-cache-ttl-ssh [no-change] 10800
|
2016-12-16 16:00:15 +01:00
|
|
|
# gpgsm enable-ocsp
|
2017-12-18 12:05:02 +01:00
|
|
|
# gpg compliance [no-change]
|
|
|
|
# gpgsm compliance [no-change]
|
2007-03-06 20:44:41 +00:00
|
|
|
#===========
|
|
|
|
# All users in the group "staff" are allowed to change the value for
|
|
|
|
# --allow-mark-trusted; gpgconf's default is not to allow a change
|
|
|
|
# through its interface. When "gpgconf --apply-defaults" is used,
|
|
|
|
# "allow-mark-trusted" will get enabled and "min-passphrase-len" set
|
|
|
|
# to 6. All other users are not allowed to change
|
|
|
|
# "min-passphrase-len" and "allow-mark-trusted". When "gpgconf
|
|
|
|
# --apply-defaults" is used for them, "min-passphrase-len" is set to
|
2007-08-29 09:51:37 +00:00
|
|
|
# 8, "allow-mark-trusted" deleted from the config file and
|
2007-03-06 20:44:41 +00:00
|
|
|
# "enable-ocsp" is put into the config file of gpgsm. The latter may
|
|
|
|
# be changed by any user.
|
|
|
|
#-------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|