Updated NEWS.
[pwmd.git] / NEWS
bloba1dcb4efa4d7ca94371f482e7bd0accbf1baed19
1 PWMD v1.1
2 ----------
3 Added configuration parameter "recursion_depth". This specifies the maximum
4 number of times to follow a "target" attribute for a single element. The
5 default is 20.
7 When creating a "target" attribute, each element in the element path value is
8 no longer modified with the literal '!' character at all. You need to specify
9 the literal instead. This keeps the syntax more consistent with the other
10 commands.
12 Added the COMPRESS and DECOMPRESS status messages. Both show the bytes
13 processed so far, and the total bytes. In order to see the total after
14 upgrading from a previous version you need to save the data file once.
16 Changed the PROGRESS status message to ENCRYPT and DECRYPT.
18 The "disable_mlockall" configuration parameter now defaults to "true". Saves
19 RAM and is overkill for most since each memory deallocation is cleared before
20 being freed. The file cache is still locked in RAM though (if possible).
22 Bugfixes. See ChangeLog for details.
25 PWMD v1.0
26 ----------
27 EPWMD_FILE_NOT_FOUND is no longer used. It is up to the client to determine
28 if the file exists by using the GETCONFIG command along with 'data_directory'.
30 The CLEARCACHE command will always succeed (return 0) even if the file is not
31 found.
33 A few minor bugfixes.
36 PWMD v0.12
37 ----------
38 Added gettext support. Translations welcome.
40 Strip the first '!' of a newly created element. If there's a following one
41 it's an error. This is to avoid syntax errors and confusion with other
42 commands and element paths.
44 Only show the number of iterations so far when showing the PROGRESS status
45 message. The client can get the percentage by calculating the
46 "iteration_progress" with GETCONFIG.
48 Fixed a huge memory leak with (de)compression.
50 The cache status message format has changed to only show the used and
51 available slots and without any text strings to make it easier for clients to
52 parse.
54 SIGUSR1 is caught in the child process. This allows for reloading of the
55 configuration file.
57 Fixed pushing files and xml import with compression.
59 Added --enable-mem-debug to use the standard memory allocators. Valgrind seems
60 to work better this way.
62 Fixed a few memory leaks.
64 Fixed creating invalid XML elements. Elements must not begin with punctuation
65 or digit and not contain any whitespace.
67 The output of the LIST command is no longer sorted. Leave it up to the client.
70 PWMD v0.11
71 ----------
72 Added the GETCONFIG command. This will return a value for a configuration
73 parameter for the opened file or the default value if no file has been opened.
74 The "key" and "key_file" parameters are ignored.
76 Rewrote how element handling is done. No longer uses an xmlTextReader but
77 accesses the xmlDocPtr nodes directly.
79 The STORE command will no longer overwrite the element tree of the last
80 element in the specified element path. Instead it will set the content as
81 usual and keep the child nodes. This affects how GET handles empty elements.
82 GET will return EPWMD_EMPTY instead of EPWMD_TRAILING_ELEMENT. The STORE
83 command can also store content in a root element (account) and remove content
84 or store an empty element by not specifying any content after the last TAB in
85 the element path.
87 Each element in an element path can now be prefixed with the literal '!'
88 character. This allows for following targets of elements other than the root
89 element.
91 The LIST command will now shows all reachable elements including target
92 elements for the specified element path. It also prefixes each element with
93 the literal '!' when needed.
95 Added support for compressing data files before encryption. This adds the
96 "compression_level" configuration parameter. The default is 6 and setting to 0
97 will disable.
99 A couple of bug fixes.
102 PWMD v0.10
103 ----------
104 Fixed libgpg-error descriptions. The errors that pwmd uses for bad syntax and
105 invalid keys etc. used to return an error code that used
106 GPG_ERR_SOURCE_DEFAULT as the source. GPG_ERR_SOURCE_USER_1 is what pwmd uses
107 now. This breaks compatibility with clients that make use of the error codes
108 (i.e., libpwmd). Be sure to update.
110 Non-option arguments on the command line are files to cache upon startup. This
111 acts like the 'cache_push' configuration parameter.
113 The location of the default configuration file is now ~/.pwmd/config and the
114 default data directory is ~/.pwmd/data, and the default log file ~/.pwmd/log.
115 This fixes clients opening these non-data filenames.
117 Fixed default configuration values when an rcfile doesn't have one.
119 The configuration parameters 'key' and 'key_file' now check to make sure the
120 key is valid before adding it to the cache like 'cache_push' does.
122 Clear the file cache and free the memlist on SIGABRT when debugging is not
123 enabled.
125 Added command line option -b to fork pwmd to the background.
127 Added configuration parameter "iteration_progress". pwmd will send the client
128 a status message showing the percent of iterations that are complete while
129 encrypting or decrypting a data file. The default is 0 which disables sending
130 status messages.
132 Sending SIGUSR1 to pwmd will reload the configuration file.
134 New protocol command REALPATH. This will resolve any "target" attribute for
135 all elements in the specified element path and return the result.
137 Some portability (FreeBSD and maybe others) fixes.
139 SIGTERM and SIGABRT are now properly caught in a child process.
141 Bugfixes.
144 PWMD v0.9
145 ---------
146 Now uses the assuan protocol. This requires libassuan and libgpg-error.
148 Clear the shared memory on exit.
150 The CACHE sub-commands ISCACHED, CLEARCACHE and CACHETIMEOUT have been made
151 into their own commands removing the CACHE command itself.
153 The RESETCACHE command and the cache_reset_timeout configuration parameter
154 have been removed. The cached files timeout is reset to it's configured value
155 (or set value with CACHETIMEOUT) after each OPEN or SAVE command.
157 The OPEN command can open another file using the same connection. Beware
158 though that if the OPEN of the new file fails, no file will be open at all.
160 When OPEN'ing a new file with a specified key, cache both the filename and
161 key. Before you had to SAVE to cache the key.
163 All commands will check if the file has been modified before continueing. Not
164 the cache commands though.
166 Don't unlink() a socket filename that wasn't created by pwmd.
168 Fixed allocating more slots than needed.
170 The commands GET, STORE, DELETE and ATTR make use of the "target" attribute
171 unless the element path argument is prefixed with a '!'. The LIST command
172 will support "target" in the next release, hopefully.
174 Accounts names can no longer begin with a '!' character to avoid problems with
175 the "target" attribute.
177 Removed EPWMD_ROOT_TEXT_ELEMENT. The STORE command will return
178 EPWMD_COMMAND_SYNTAX instead.
180 Added command line option -D and configuration parameter
181 "disable_list_and_dump". When specified or enabled, the LIST and DUMP protocol
182 commands will return EPWMD_EMPTY_ELEMENT.
185 PWMD v0.8
186 ---------
187 Use AM_XML2_PATH() for finding libxml2.
189 Split pwmd and libpwmd into their own projects. Both can be found at
190 http://bjk.sourceforge.net/pwmd/.
193 PWMD v0.7
194 ---------
195 cache_push and working directory bugfix.
197 Added two new configuration options "key" and "key_file". Works with
198 cache_push too.
200 Added a boolean "cache_reset_timeout" configuration option to reset the timer
201 for a cached key when the OPEN or SAVE commands are used.
203 Added two new protocol commands CACHE RESET which clears only the key for the
204 specified file and CACHE RESETALL which clears the key for all files.
206 The "name" and "target" attributes are now case-sensitive.
208 The value of an element path that contains a "target" attribute can be
209 obtained by prefixing the account element with a '!'.
212 PWMD v0.6
213 ---------
214 Fix for the LIST command. When an element path was specified and the document
215 had following elements in the tree the following elements would be shown.
217 Added the CACHE TIMEOUT command to specify the lifetime of a cached file in
218 seconds. This adds a new configuration file setting "cache_timeout".
220 Added per-file settings in the configuration file. A file section is declared
221 by placing the filename in braces. Only the "iterations" and "cache_timeout"
222 settings are used in a file section.
224 No longer chdir() to the data directory.
227 PWMD v0.5
228 ---------
229 If a file size is 0 then CACHE ISCACHED will return EPWMD_FILE_NOT_FOUND.
231 Write a structure to the data file which specifies the iterations and IV. This
232 lets you open a file that had a different iteration setting than the current
233 setting. Breaks file compatibility with previous versions for hopefully the
234 last time.
236 cache_push with an invalid password bugfix.
238 Added command line option -I to import an XML file and write the encrypted
239 data to stdout.
242 PWMD v0.4
243 ---------
244 Use AES-256-CBC to store the data file. This breaks file compatibility with
245 older versions. Sorry.
247 The ATTR protocol command has a new GET sub-command to get an attribute value
248 for an element path.
250 The LIST protocol command can now take an element path.
252 The DUMP command will format it's output.
254 Use MAP_ANONYMOUS|MAP_SHARED mmap() flags on Linux 2.4+. This won't create a
255 file in /dev/shm. #define MMAP_ANONYMOUS_SHARED in config.h if your OS
256 supports this.
258 Fixed closing file descriptors.
260 Fixed some memory leaks.
262 The contents of all memory allocated by Glib, libXML and libgcrypt is cleared
263 before free()ing.
265 Added an "iterations" configuration parameter. This specifies the amount of
266 times to encrypt the data to prevent dictionary attacks. Idea borrowed from
267 aespipe.
270 PWMD v0.3
271 ---------
272 The SETATTR protocol command has been renamed to ATTR. This new command
273 includes three new sub-commands: SET, DELETE and LIST, to SET or update an
274 attribute, DELETE to delete an attribute and LIST to list attributes of an
275 element path. Read PROTOCOL for details.
277 Added the TARGET attribute. If an element has this attribute set, it's value
278 is another element path. It's recursive too so the destination element path
279 can be an element with a TARGET attribute. Be careful of loops though.
281 Added the DUMP protocol command. It shows the in-memory document. Useful for
282 cleaning up empty elements that aren't shown with any command.
284 The "name" attribute can be used in any element but cannot be removed for the
285 root "account" element.
287 More strict element name validation for new elements.
289 Code reorganization. Protocol commands have been put in src/commands.c.
291 The LIST command won't show element values anymore unless DEBUG was defined at
292 compile time. You must use the GET command to get a value.
294 The OPEN and SAVE protocol commands no longer expect a base64 encoded key.
295 Plain text is where it's at.
297 The STORE command wont base64 encode the value. We'll leave it up to the
298 client. But it's still recommended to avoid parsing errors.
300 All of the command line options have been moved into a configuration file. By
301 default pwmd will look for it in ~/.pwmdrc. You can use -f to specify an
302 alternate file. If the file doesn't exist, then some defaults will be used.
303 There is one new config option though; "cache_push" will take a list of
304 filenames as an argument. This will prompt for passwords upon startup and add
305 the file to the cache. It's a (temporary?) fix for background processes that
306 don't have an attached tty (see libpwmd/KnownBugs). Just make sure the file
307 the other process needs is added to the cache.
310 PWMD v0.2
311 ---------
312 There is a library included in the archive to make interfacing the pwmd alot
313 easier. See libpwmd/README for more information.
315 A (temporary) fix for 100% CPU usage after a client connects.
317 GnuPG is no longer used for data encryption. Instead, libgcrypt will
318 encrypt/decrypt the data with AES-128 key. The OPEN and SAVE commands will
319 need the base64 encoded key.
321 Renamed host to hostname and added sslfingerprint to the DTD.
323 Added command line option -s to specify the socket path.
325 Added command line option -d to specify where pwmd will open and save the data
326 files.
328 Renamed protocol command SET to SETATTR.
330 Added shared memory file caching. If a file is found in the cache then the
331 cached password associated with the file will be used with the OPEN command.
332 With SAVE, if there is no cached password a key is required, else the cached
333 password will be used unless there is a key argument. This also adds a new
334 protocol command CACHE with 3 subcommands CLEARALL, CLEAR and ISCACHED.
335 Sending the SIGHUP signal to pwmd will clear the file cache.
337 Added command line option -M to disable calling mlockall(). mlock() will still
338 be used for the file cache reguardless of this option.
340 Added command line option -C to specify the file cache size. The cache size
341 must be in multiples of PAGE_SIZE.
343 Added command line option -l to enable logging to the specified file.
345 If there is a protocol command error, ERR is returned along with a protocol
346 error code and description. See src/pwmd_error.h for error codes.
348 Fix for the DELETE command and deleting an entire element tree when an invalid
349 element was in the element path.
351 Fix for the GET command and finding elements of the same name in other
352 accounts.
354 Added a manual page.
357 PWMD v0.1
358 ---------
359 Initial release.