Sending SIGUSR1 to pwmd will reload the configuration file.
[pwmd.git] / NEWS
bloba8c489cbd8b8e6f9091df51828b6aa2c929ab46b
1 PWMD v0.10
2 ---------
3 Fixed libgpg-error descriptions. The errors that pwmd uses for bad syntax and
4 invalid keys etc. used to return an error code that used
5 GPG_ERR_SOURCE_DEFAULT as the source. GPG_ERR_SOURCE_USER_1 is what pwmd uses
6 now. This breaks compatibility with clients that make use of the error codes
7 (i.e., libpwmd). Be sure to update.
9 Non-option arguments on the command line are files to cache upon startup. This
10 acts like the 'cache_push' configuration parameter.
12 The location of the default configuration file is now ~/.pwmd/config and the
13 default data directory is ~/.pwmd/data, and the default log file ~/.pwmd/log.
14 This fixes clients opening these non-data filenames.
16 Fixed default configuration values when an rcfile doesn't have one.
18 The configuration parameters 'key' and 'key_file' now check to make sure the
19 key is valid before adding it to the cache like 'cache_push' does.
22 PWMD v0.9
23 ---------
24 Now uses the assuan protocol. This requires libassuan and libgpg-error.
26 Clear the shared memory on exit.
28 The CACHE sub-commands ISCACHED, CLEARCACHE and CACHETIMEOUT have been made
29 into their own commands removing the CACHE command itself.
31 The RESETCACHE command and the cache_reset_timeout configuration parameter
32 have been removed. The cached files timeout is reset to it's configured value
33 (or set value with CACHETIMEOUT) after each OPEN or SAVE command.
35 The OPEN command can open another file using the same connection. Beware
36 though that if the OPEN of the new file fails, no file will be open at all.
38 When OPEN'ing a new file with a specified key, cache both the filename and
39 key. Before you had to SAVE to cache the key.
41 All commands will check if the file has been modified before continueing. Not
42 the cache commands though.
44 Don't unlink() a socket filename that wasn't created by pwmd.
46 Fixed allocating more slots than needed.
48 The commands GET, STORE, DELETE and ATTR make use of the "target" attribute
49 unless the element path argument is prefixed with a '!'. The LIST command
50 will support "target" in the next release, hopefully.
52 Accounts names can no longer begin with a '!' character to avoid problems with
53 the "target" attribute.
55 Removed EPWMD_ROOT_TEXT_ELEMENT. The STORE command will return
56 EPWMD_COMMAND_SYNTAX instead.
58 Added command line option -D and configuration parameter
59 "disable_list_and_dump". When specified or enabled, the LIST and DUMP protocol
60 commands will return EPWMD_EMPTY_ELEMENT.
63 PWMD v0.8
64 ---------
65 Use AM_XML2_PATH() for finding libxml2.
67 Split pwmd and libpwmd into their own projects. Both can be found at
68 http://bjk.sourceforge.net/pwmd/.
71 PWMD v0.7
72 ---------
73 cache_push and working directory bugfix.
75 Added two new configuration options "key" and "key_file". Works with
76 cache_push too.
78 Added a boolean "cache_reset_timeout" configuration option to reset the timer
79 for a cached key when the OPEN or SAVE commands are used.
81 Added two new protocol commands CACHE RESET which clears only the key for the
82 specified file and CACHE RESETALL which clears the key for all files.
84 The "name" and "target" attributes are now case-sensitive.
86 The value of an element path that contains a "target" attribute can be
87 obtained by prefixing the account element with a '!'.
90 PWMD v0.6
91 ---------
92 Fix for the LIST command. When an element path was specified and the document
93 had following elements in the tree the following elements would be shown.
95 Added the CACHE TIMEOUT command to specify the lifetime of a cached file in
96 seconds. This adds a new configuration file setting "cache_timeout".
98 Added per-file settings in the configuration file. A file section is declared
99 by placing the filename in braces. Only the "iterations" and "cache_timeout"
100 settings are used in a file section.
102 No longer chdir() to the data directory.
105 PWMD v0.5
106 ---------
107 If a file size is 0 then CACHE ISCACHED will return EPWMD_FILE_NOT_FOUND.
109 Write a structure to the data file which specifies the iterations and IV. This
110 lets you open a file that had a different iteration setting than the current
111 setting. Breaks file compatibility with previous versions for hopefully the
112 last time.
114 cache_push with an invalid password bugfix.
116 Added command line option -I to import an XML file and write the encrypted
117 data to stdout.
120 PWMD v0.4
121 ---------
122 Use AES-256-CBC to store the data file. This breaks file compatibility with
123 older versions. Sorry.
125 The ATTR protocol command has a new GET sub-command to get an attribute value
126 for an element path.
128 The LIST protocol command can now take an element path.
130 The DUMP command will format it's output.
132 Use MAP_ANONYMOUS|MAP_SHARED mmap() flags on Linux 2.4+. This won't create a
133 file in /dev/shm. #define MMAP_ANONYMOUS_SHARED in config.h if your OS
134 supports this.
136 Fixed closing file descriptors.
138 Fixed some memory leaks.
140 The contents of all memory allocated by Glib, libXML and libgcrypt is cleared
141 before free()ing.
143 Added an "iterations" configuration parameter. This specifies the amount of
144 times to encrypt the data to prevent dictionary attacks. Idea borrowed from
145 aespipe.
148 PWMD v0.3
149 ---------
150 The SETATTR protocol command has been renamed to ATTR. This new command
151 includes three new sub-commands: SET, DELETE and LIST, to SET or update an
152 attribute, DELETE to delete an attribute and LIST to list attributes of an
153 element path. Read PROTOCOL for details.
155 Added the TARGET attribute. If an element has this attribute set, it's value
156 is another element path. It's recursive too so the destination element path
157 can be an element with a TARGET attribute. Be careful of loops though.
159 Added the DUMP protocol command. It shows the in-memory document. Useful for
160 cleaning up empty elements that aren't shown with any command.
162 The "name" attribute can be used in any element but cannot be removed for the
163 root "account" element.
165 More strict element name validation for new elements.
167 Code reorganization. Protocol commands have been put in src/commands.c.
169 The LIST command won't show element values anymore unless DEBUG was defined at
170 compile time. You must use the GET command to get a value.
172 The OPEN and SAVE protocol commands no longer expect a base64 encoded key.
173 Plain text is where it's at.
175 The STORE command wont base64 encode the value. We'll leave it up to the
176 client. But it's still recommended to avoid parsing errors.
178 All of the command line options have been moved into a configuration file. By
179 default pwmd will look for it in ~/.pwmdrc. You can use -f to specify an
180 alternate file. If the file doesn't exist, then some defaults will be used.
181 There is one new config option though; "cache_push" will take a list of
182 filenames as an argument. This will prompt for passwords upon startup and add
183 the file to the cache. It's a (temporary?) fix for background processes that
184 don't have an attached tty (see libpwmd/KnownBugs). Just make sure the file
185 the other process needs is added to the cache.
188 PWMD v0.2
189 ---------
190 There is a library included in the archive to make interfacing the pwmd alot
191 easier. See libpwmd/README for more information.
193 A (temporary) fix for 100% CPU usage after a client connects.
195 GnuPG is no longer used for data encryption. Instead, libgcrypt will
196 encrypt/decrypt the data with AES-128 key. The OPEN and SAVE commands will
197 need the base64 encoded key.
199 Renamed host to hostname and added sslfingerprint to the DTD.
201 Added command line option -s to specify the socket path.
203 Added command line option -d to specify where pwmd will open and save the data
204 files.
206 Renamed protocol command SET to SETATTR.
208 Added shared memory file caching. If a file is found in the cache then the
209 cached password associated with the file will be used with the OPEN command.
210 With SAVE, if there is no cached password a key is required, else the cached
211 password will be used unless there is a key argument. This also adds a new
212 protocol command CACHE with 3 subcommands CLEARALL, CLEAR and ISCACHED.
213 Sending the SIGHUP signal to pwmd will clear the file cache.
215 Added command line option -M to disable calling mlockall(). mlock() will still
216 be used for the file cache reguardless of this option.
218 Added command line option -C to specify the file cache size. The cache size
219 must be in multiples of PAGE_SIZE.
221 Added command line option -l to enable logging to the specified file.
223 If there is a protocol command error, ERR is returned along with a protocol
224 error code and description. See src/pwmd_error.h for error codes.
226 Fix for the DELETE command and deleting an entire element tree when an invalid
227 element was in the element path.
229 Fix for the GET command and finding elements of the same name in other
230 accounts.
232 Added a manual page.
235 PWMD v0.1
236 ---------
237 Initial release.