Version 1.0.
[pwmd.git] / doc / config.example
blob04d08d9aa26772d4619d3d994e045bbbefef0bc8
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 # Where files will be read and stored.
11 #data_directory=~/.pwmd/data
13 # Log file location.
14 #log_path=~/.pwmd/log
16 # Set to true to enable logging to log_path.
17 #enable_logging=false
19 # File and key cache size. Must be in multiples of your systems PAGE_SIZE. The
20 # default below on a x86 Linux system is one page.
21 #cache_size=4096
23 # Try setting to true if you have resource allocation limits and are getting
24 # memory allocation failures.
25 #disable_mlockall=false
27 # Disable the LIST and DUMP commands. When "true" and a client sends these
28 # commands an error GPG_ERR_NOT_IMPLEMENTED will be returned.
29 #disable_list_and_dump=false
31 # Number of encryption iterations. This is the number of times the data will
32 # be encrypted. Setting this to a high value (10000) will drastically slow
33 # down dictionary attacks.
34 #iterations=0
36 # After the set number of encryption or decryption iterations, a status
37 # message with the keyword PROGRESS is sent. Setting to 0 disables.
38 #iteration_progress=0
40 # A list of filenames separated by commas to add to the file cache upon
41 # startup. You will be prompted for the key for each file if required. The
42 # files are looked for in data_directory.
43 #cache_push=somefile, anotherfile
45 # The number of seconds to keep a file in the cache. If -1, the file will be
46 # kept forever. If 0, then every OPEN and SAVE command for a file will require
47 # a key.
48 #cache_timeout=-1
50 # The default compression level for data files from 1 to 9, 1 being the
51 # fastest but least compression and 9 being the slowest but best compression.
52 # To disable compression entirely, set to 0.
53 #compression_level=6
55 # END GLOBAL SETTINGS
57 # File specific settings are allowed by placing the filename in braces.
58 #[somefile]
59 #cache_timeout=300
60 #iterations=15000
61 #key=password
62 #key_file=/path/to/file.key
63 #compression_level=0