3 Added gettext support. Translations welcome.
5 Strip the first '!' of a newly created element. If there's a following one
6 it's an error. This is to avoid syntax errors and confusion with other
7 commands and element paths.
9 Only show the number of iterations so far when showing the PROGRESS status
10 message. The client can get the percentage by calculating the
11 "iteration_progress" with GETCONFIG.
13 Fixed a huge memory leak with (de)compression.
15 The cache status message format has changed to only show the used and
16 available slots and without any text strings to make it easier for clients to
19 SIGUSR1 is caught in the child process. This allows for reloading of the
22 Fixed pushing files and xml import with compression.
24 Added --enable-mem-debug to use the standard memory allocators. Valgrind seems
25 to work better this way.
27 Fixed a few memory leaks.
29 Fixed creating invalid XML elements. Elements must not begin with punctuation
30 or digit and not contain any whitespace.
32 The output of the LIST command is no longer sorted. Leave it up to the client.
37 Added the GETCONFIG command. This will return a value for a configuration
38 parameter for the opened file or the default value if no file has been opened.
39 The "key" and "key_file" parameters are ignored.
41 Rewrote how element handling is done. No longer uses an xmlTextReader but
42 accesses the xmlDocPtr nodes directly.
44 The STORE command will no longer overwrite the element tree of the last
45 element in the specified element path. Instead it will set the content as
46 usual and keep the child nodes. This affects how GET handles empty elements.
47 GET will return EPWMD_EMPTY instead of EPWMD_TRAILING_ELEMENT. The STORE
48 command can also store content in a root element (account) and remove content
49 or store an empty element by not specifying any content after the last TAB in
52 Each element in an element path can now be prefixed with the literal '!'
53 character. This allows for following targets of elements other than the root
56 The LIST command will now shows all reachable elements including target
57 elements for the specified element path. It also prefixes each element with
58 the literal '!' when needed.
60 Added support for compressing data files before encryption. This adds the
61 "compression_level" configuration parameter. The default is 6 and setting to 0
64 A couple of bug fixes.
69 Fixed libgpg-error descriptions. The errors that pwmd uses for bad syntax and
70 invalid keys etc. used to return an error code that used
71 GPG_ERR_SOURCE_DEFAULT as the source. GPG_ERR_SOURCE_USER_1 is what pwmd uses
72 now. This breaks compatibility with clients that make use of the error codes
73 (i.e., libpwmd). Be sure to update.
75 Non-option arguments on the command line are files to cache upon startup. This
76 acts like the 'cache_push' configuration parameter.
78 The location of the default configuration file is now ~/.pwmd/config and the
79 default data directory is ~/.pwmd/data, and the default log file ~/.pwmd/log.
80 This fixes clients opening these non-data filenames.
82 Fixed default configuration values when an rcfile doesn't have one.
84 The configuration parameters 'key' and 'key_file' now check to make sure the
85 key is valid before adding it to the cache like 'cache_push' does.
87 Clear the file cache and free the memlist on SIGABRT when debugging is not
90 Added command line option -b to fork pwmd to the background.
92 Added configuration parameter "iteration_progress". pwmd will send the client
93 a status message showing the percent of iterations that are complete while
94 encrypting or decrypting a data file. The default is 0 which disables sending
97 Sending SIGUSR1 to pwmd will reload the configuration file.
99 New protocol command REALPATH. This will resolve any "target" attribute for
100 all elements in the specified element path and return the result.
102 Some portability (FreeBSD and maybe others) fixes.
104 SIGTERM and SIGABRT are now properly caught in a child process.
111 Now uses the assuan protocol. This requires libassuan and libgpg-error.
113 Clear the shared memory on exit.
115 The CACHE sub-commands ISCACHED, CLEARCACHE and CACHETIMEOUT have been made
116 into their own commands removing the CACHE command itself.
118 The RESETCACHE command and the cache_reset_timeout configuration parameter
119 have been removed. The cached files timeout is reset to it's configured value
120 (or set value with CACHETIMEOUT) after each OPEN or SAVE command.
122 The OPEN command can open another file using the same connection. Beware
123 though that if the OPEN of the new file fails, no file will be open at all.
125 When OPEN'ing a new file with a specified key, cache both the filename and
126 key. Before you had to SAVE to cache the key.
128 All commands will check if the file has been modified before continueing. Not
129 the cache commands though.
131 Don't unlink() a socket filename that wasn't created by pwmd.
133 Fixed allocating more slots than needed.
135 The commands GET, STORE, DELETE and ATTR make use of the "target" attribute
136 unless the element path argument is prefixed with a '!'. The LIST command
137 will support "target" in the next release, hopefully.
139 Accounts names can no longer begin with a '!' character to avoid problems with
140 the "target" attribute.
142 Removed EPWMD_ROOT_TEXT_ELEMENT. The STORE command will return
143 EPWMD_COMMAND_SYNTAX instead.
145 Added command line option -D and configuration parameter
146 "disable_list_and_dump". When specified or enabled, the LIST and DUMP protocol
147 commands will return EPWMD_EMPTY_ELEMENT.
152 Use AM_XML2_PATH() for finding libxml2.
154 Split pwmd and libpwmd into their own projects. Both can be found at
155 http://bjk.sourceforge.net/pwmd/.
160 cache_push and working directory bugfix.
162 Added two new configuration options "key" and "key_file". Works with
165 Added a boolean "cache_reset_timeout" configuration option to reset the timer
166 for a cached key when the OPEN or SAVE commands are used.
168 Added two new protocol commands CACHE RESET which clears only the key for the
169 specified file and CACHE RESETALL which clears the key for all files.
171 The "name" and "target" attributes are now case-sensitive.
173 The value of an element path that contains a "target" attribute can be
174 obtained by prefixing the account element with a '!'.
179 Fix for the LIST command. When an element path was specified and the document
180 had following elements in the tree the following elements would be shown.
182 Added the CACHE TIMEOUT command to specify the lifetime of a cached file in
183 seconds. This adds a new configuration file setting "cache_timeout".
185 Added per-file settings in the configuration file. A file section is declared
186 by placing the filename in braces. Only the "iterations" and "cache_timeout"
187 settings are used in a file section.
189 No longer chdir() to the data directory.
194 If a file size is 0 then CACHE ISCACHED will return EPWMD_FILE_NOT_FOUND.
196 Write a structure to the data file which specifies the iterations and IV. This
197 lets you open a file that had a different iteration setting than the current
198 setting. Breaks file compatibility with previous versions for hopefully the
201 cache_push with an invalid password bugfix.
203 Added command line option -I to import an XML file and write the encrypted
209 Use AES-256-CBC to store the data file. This breaks file compatibility with
210 older versions. Sorry.
212 The ATTR protocol command has a new GET sub-command to get an attribute value
215 The LIST protocol command can now take an element path.
217 The DUMP command will format it's output.
219 Use MAP_ANONYMOUS|MAP_SHARED mmap() flags on Linux 2.4+. This won't create a
220 file in /dev/shm. #define MMAP_ANONYMOUS_SHARED in config.h if your OS
223 Fixed closing file descriptors.
225 Fixed some memory leaks.
227 The contents of all memory allocated by Glib, libXML and libgcrypt is cleared
230 Added an "iterations" configuration parameter. This specifies the amount of
231 times to encrypt the data to prevent dictionary attacks. Idea borrowed from
237 The SETATTR protocol command has been renamed to ATTR. This new command
238 includes three new sub-commands: SET, DELETE and LIST, to SET or update an
239 attribute, DELETE to delete an attribute and LIST to list attributes of an
240 element path. Read PROTOCOL for details.
242 Added the TARGET attribute. If an element has this attribute set, it's value
243 is another element path. It's recursive too so the destination element path
244 can be an element with a TARGET attribute. Be careful of loops though.
246 Added the DUMP protocol command. It shows the in-memory document. Useful for
247 cleaning up empty elements that aren't shown with any command.
249 The "name" attribute can be used in any element but cannot be removed for the
250 root "account" element.
252 More strict element name validation for new elements.
254 Code reorganization. Protocol commands have been put in src/commands.c.
256 The LIST command won't show element values anymore unless DEBUG was defined at
257 compile time. You must use the GET command to get a value.
259 The OPEN and SAVE protocol commands no longer expect a base64 encoded key.
260 Plain text is where it's at.
262 The STORE command wont base64 encode the value. We'll leave it up to the
263 client. But it's still recommended to avoid parsing errors.
265 All of the command line options have been moved into a configuration file. By
266 default pwmd will look for it in ~/.pwmdrc. You can use -f to specify an
267 alternate file. If the file doesn't exist, then some defaults will be used.
268 There is one new config option though; "cache_push" will take a list of
269 filenames as an argument. This will prompt for passwords upon startup and add
270 the file to the cache. It's a (temporary?) fix for background processes that
271 don't have an attached tty (see libpwmd/KnownBugs). Just make sure the file
272 the other process needs is added to the cache.
277 There is a library included in the archive to make interfacing the pwmd alot
278 easier. See libpwmd/README for more information.
280 A (temporary) fix for 100% CPU usage after a client connects.
282 GnuPG is no longer used for data encryption. Instead, libgcrypt will
283 encrypt/decrypt the data with AES-128 key. The OPEN and SAVE commands will
284 need the base64 encoded key.
286 Renamed host to hostname and added sslfingerprint to the DTD.
288 Added command line option -s to specify the socket path.
290 Added command line option -d to specify where pwmd will open and save the data
293 Renamed protocol command SET to SETATTR.
295 Added shared memory file caching. If a file is found in the cache then the
296 cached password associated with the file will be used with the OPEN command.
297 With SAVE, if there is no cached password a key is required, else the cached
298 password will be used unless there is a key argument. This also adds a new
299 protocol command CACHE with 3 subcommands CLEARALL, CLEAR and ISCACHED.
300 Sending the SIGHUP signal to pwmd will clear the file cache.
302 Added command line option -M to disable calling mlockall(). mlock() will still
303 be used for the file cache reguardless of this option.
305 Added command line option -C to specify the file cache size. The cache size
306 must be in multiples of PAGE_SIZE.
308 Added command line option -l to enable logging to the specified file.
310 If there is a protocol command error, ERR is returned along with a protocol
311 error code and description. See src/pwmd_error.h for error codes.
313 Fix for the DELETE command and deleting an entire element tree when an invalid
314 element was in the element path.
316 Fix for the GET command and finding elements of the same name in other