2 # Example PWMD configuration file. Edit and save to ~/.pwmd/config or
3 # specify with the -f command line option. See the pwmd(1) manual page for
4 # complete details of the options.
6 # The global section is for non-file related settings and defaults for data
7 # files without a file section.
10 # Location of the listening socket.
11 #socket_path=~/.pwmd/socket
13 # Socket permissions. This will override any umask setting.
16 # Where data files will be read and stored.
17 #data_directory=~/.pwmd/data
19 # If false, disable keeping backups for data files.
25 # Set to true to enable logging to log_path.
28 # Set to true to enable logging to syslog.
31 # Set to false to call mlockall(2) after a client connects. Uses alot more
32 # memory but is also more secure. Most will probably find it overkill since
33 # the contents of all memory is cleared before being freed. Note that this
34 # doesn't affect the file cache which is always stored in RAM (if possible).
35 #disable_mlockall=true
37 # Disable the XPATH, LIST and DUMP commands. When "true" and a client sends
38 # these commands the error GPG_ERR_NOT_IMPLEMENTED will be returned.
39 #disable_list_and_dump=false
41 # The number of encryption iterations for new files. This is the number of
42 # times the data will be encrypted. Setting this to a high value (10000 or
43 # more, depending on the size of the data file) will slow down dictionary
44 # attacks. Setting to 0 will disable encryption.
47 # After the set number of encryption or decryption iterations have been
48 # processed, a status message with the keyword ENCRYPT or DECRYPT will be
49 # sent to the client. Set to 0 to disable.
52 # A list of filenames separated by commas to add to the file cache upon
53 # startup. You will be prompted for the key for each file if required. The
54 # files are looked for in data_directory.
55 #cache_push=somefile, anotherfile
57 # The number of seconds to keep a file in the cache. If -1, the file will be
58 # kept forever. If 0, then every OPEN and SAVE command will require a key.
61 # Set to false to disable use of pinentry to retrieve keys.
65 # Seconds until the pinentry dialog times out. Set to 0 to wait for input
69 # The default compression level for data files from 1 to 9, 1 being the
70 # fastest but least compression and 9 being the slowest but best compression.
71 # To disable compression entirely, set to 0.
74 # The input and output buffer size when compressing and decompressing. This
75 # affects how often the COMPRESS and DECOMPRESS status messages are sent and
76 # also affects compression quality. Set to a higher value for larger files.
79 # The maximum recursion depth when resolving elements that contain a "target"
80 # attribute. When this value is exceeded an error will be returned.
83 # Sends a KEEPALIVE status message every N seconds. Set to 0 to disable.
86 # The priority or nice value of the server process. The default is inherited
87 # from the parent process.
90 # Whether to enable TCP server support. If enabled, both TCP and the local
91 # unix domain socket will listen for connections.
94 # If TCP is enabled, the port to listen on.
97 # Only useful if running as root.
100 # A comma separated list of client x509 certificate fingerprints in SHA-1
101 # format that will be allowed to open a file. If prefixed with !, access is
102 # denied for the connected client. The access control is for filenames and
103 # this option can be in either the global section or a defined filename
104 # section. If not found in either then access will be granted. If defined but
105 # empty then access will be denied.
108 # Require the client to provide the key to open a file even if the file is
110 #tcp_require_key=false
112 # The time in tenths of a second to wait for a new TCP connection. Setting to
113 # 0 will disable waiting.
116 # The GnuTLS cipher suite and protocol to use.
117 #cipher_suite=SECURE256
119 # END GLOBAL SETTINGS
121 # File specific settings are allowed by placing the filename in braces. Each
122 # file can have it's own configuration settings from those listed below.
125 #iteration_progress=0
127 #key_file=/path/to/file.key
129 #enable_pinentry=true
132 #tcp_access=some_sha1_hash