1 # Example PWMD configuration file. Edit and save to ~/.pwmd/config or
2 # specify with the -f command line option. See the pwmd(1) manual page or the
3 # pwmd.info documentation for complete details of the options.
5 # The global section is for non-file related settings and defaults for data
6 # files without a file section of their own.
9 # Location of the pinentry binary.
10 #pinentry_path=/usr/bin/pinentry
12 # The number of seconds to wait for a pinentry before giving up.
15 # Location of the listening socket.
16 #socket_path=~/.pwmd/socket
18 # Socket permissions. This will override any umask setting.
21 # Usernames or groups obtained via SO_PEERCRED which are allowed to
22 # connect to the socket. Groups should be prefixed with a '@'. When not
23 # specified only the invoking user is allowed.
24 #allowed = username,another_user,@group
26 # When false, disable keeping backups for data files.
32 # Set to true to enable logging to log_path.
35 # Set to true to enable logging to syslog.
38 # The logging level: 0=connections and errors, 1=client commands.
41 # A file containing the environment settings for connecting to gpg-agent.
42 #agent_env_file=/path/to/some/file
44 # Kill the smartcard daemon after each OPEN or SAVE.
47 # Set to false to call mlockall(2) after a client connects. Uses more memory
48 # but is also more secure. Most will probably find it overkill since the
49 # contents of all memory is cleared before being freed.
50 #disable_mlockall=true
52 # Disable the XPATH, LIST and DUMP commands. When "true" and a client sends
53 # these commands the error GPG_ERR_NOT_IMPLEMENTED will be returned.
54 #disable_list_and_dump=false
56 # When sending data to the client an XFER status message will be sent after
57 # N bytes. N is rounded to ASSUAN_LINELENGTH (1002) bytes.
60 # A comma separated list of filenames to add to the file cache upon startup.
61 # You will be prompted for the passphrasefor each file if required. The files
62 # are looked for in ~/.pwmd/data. This also affects rcfile reloading via
64 #cache_push=somefile,anotherfile
66 # The number of seconds to keep a file in the cache. If -1, the file will be
67 # kept forever. If 0 then every OPEN will require a passphrase.
70 # The maximum recursion depth when resolving elements that contain a "target"
71 # attribute. When this value is exceeded an error will be returned.
74 # The priority or nice value of the server process. The default is inherited
75 # from the parent process.
78 # The cipher to use for newly created files.
81 # The number of cipher encryption iterations of the data. This differs from
82 # the s2k_count option (see below) that determines the hash iterations of the
86 # Send a status message to the client after this many encryption/decryption
90 # The key pair algorithm and number of bits to use for newly created files.
94 # The number of passphrase hashing iterations for new files and when changing
95 # the passphrase of a secret key. The default is the calibrated value of the
99 # Whether to enable TCP/TLS server support. If enabled, both TCP and the local
100 # unix domain socket will listen for connections.
103 # If TCP is enabled, the port to listen on.
106 # A comma separated list of client x509 certificate fingerprints in SHA-1
107 # format that will be allowed to open a file. If prefixed with !, access is
108 # denied for the connected client. The access control is for filenames and
109 # this option can be in either the global section or a defined filename
110 # section. If defined but empty then access will be denied. If only "+" is
111 # present then all clients will be able to connect.
114 # Require the client to provide the key to open a file even if the file is
116 #tcp_require_key=false
118 # The time in tenths of a second to wait for a new TCP connection. Setting to
119 # 0 will disable waiting.
122 # Accept TCP connections from the specified protocol. One of: ipv4, ipv6 or
123 # any. The default is "any".
126 # The GnuTLS cipher suite and protocol to use.
127 #tls_cipher_suite=SECURE256
129 # When true and exists, ~/.pwmd/crl.pem will be used as an X509 CRL.
132 # END GLOBAL SETTINGS
134 # File specific settings are allowed by placing the filename in braces. Each
135 # file can have it's own configuration settings from those listed below.
139 #passphrase_file=/path/to/file.key