Return ASSUAN_Invalid_Value if no TTYNAME or DISPLAY is set.
[pwmd.git] / doc / config.example
blob8bd7eec5bb8e2a7867d9fab9f5a1d6b835678c6a
2 # Example PWMD configuration file. Edit and save to ~/.pwmd/config or
3 # specify with the -f command line option.
5 [default]
7 # Location of the listening socket.
8 #socket_path=~/.pwmd/socket
10 # Socket permissions. This will override any umask setting.
11 #socket_perms=0600
13 # Where files will be read and stored.
14 #data_directory=~/.pwmd/data
16 # Log file location.
17 #log_path=~/.pwmd/log
19 # Set to true to enable logging to log_path.
20 #enable_logging=false
22 # Set to true to enable logging to syslog.
23 #syslog=false
25 # File and key cache size. Must be in multiples of your systems PAGE_SIZE. The
26 # default below on a x86 Linux system is one page.
27 #cache_size=4096
29 # Set to false to call mlockall(2) after a client connects. Uses alot more
30 # memory but is also more secure. Most will probably find it overkill since
31 # the contents of all memory is cleared before being freed (see KnownBugs
32 # though). Note that this doesn't affect the file cache which is always stored
33 # in RAM (if possible).
34 #disable_mlockall=true
36 # Disable the LIST and DUMP commands. When "true" and a client sends these
37 # commands an error GPG_ERR_NOT_IMPLEMENTED will be returned.
38 #disable_list_and_dump=false
40 # Number of encryption iterations. This is the number of times the data will
41 # be encrypted. Setting this to a high value (10000) will drastically slow
42 # down dictionary attacks. Setting to -1 will disable encryption.
43 #iterations=0
45 # After the set number of encryption or decryption iterations, a status
46 # message with the keyword PROGRESS is sent. Setting to 0 disables.
47 #iteration_progress=0
49 # A list of filenames separated by commas to add to the file cache upon
50 # startup. You will be prompted for the key for each file if required. The
51 # files are looked for in data_directory.
52 #cache_push=somefile, anotherfile
54 # The number of seconds to keep a file in the cache. If -1, the file will be
55 # kept forever. If 0, then every OPEN and SAVE command for a file will require
56 # a key.
57 #cache_timeout=-1
59 # Set to false to disable use of pinentry.
60 #enable_pinentry=true
62 # The default compression level for data files from 1 to 9, 1 being the
63 # fastest but least compression and 9 being the slowest but best compression.
64 # To disable compression entirely, set to 0.
65 #compression_level=6
67 # The input and output buffer size when compressing and decompressing. This
68 # affects how often the COMPRESS and DECOMPRESS status messages are sent and
69 # also affects compression quality. Set to a higher value for larger files.
70 #zlib_bufsize=4096
72 # The maximum recursion depth when resolving elements that contain a "target"
73 # attribute. When this value is exceeded an error will be returned.
74 #recursion_depth=20
76 # Sends a KEEPALIVE status message every N seconds. Set to 0 to disable.
77 #keepalive=5
78 # END GLOBAL SETTINGS
80 # File specific settings are allowed by placing the filename in braces.
81 #[somefile]
82 #cache_timeout=300
83 #iterations=15000
84 #key=password
85 #key_file=/path/to/file.key
86 #compression_level=0