Added debian/ to the .tar.gz archive.
[pwmd.git] / NEWS
blobff58e09711187846ef90b0b83f98610806387fb7
1 PWMD v0.11
2 ----------
3 Added the GETCONFIG command. This will return a value for a configuration
4 parameter for the opened file or the default value if no file has been opened.
5 The "key" and "key_file" parameters are ignored.
7 Rewrote how element handling is done. No longer uses an xmlTextReader but
8 accesses the xmlDocPtr nodes directly.
10 The STORE command will no longer overwrite the element tree of the last
11 element in the specified element path. Instead it will set the content as
12 usual and keep the child nodes. This affects how GET handles empty elements.
13 GET will return EPWMD_EMPTY instead of EPWMD_TRAILING_ELEMENT. The STORE
14 command can also store content in a root element (account) and remove content
15 or store an empty element by not specifying any content after the last TAB in
16 the element path.
18 Each element in an element path can now be prefixed with the literal '!'
19 character. This allows for following targets of elements other than the root
20 element.
22 The LIST command will now shows all reachable elements including target
23 elements for the specified element path. It also prefixes each element with
24 the literal '!' when needed.
26 Added support for compressing data files before encryption. This adds the
27 "compression_level" configuration parameter. The default is 6 and setting to 0
28 will disable.
30 A couple of bug fixes.
33 PWMD v0.10
34 ----------
35 Fixed libgpg-error descriptions. The errors that pwmd uses for bad syntax and
36 invalid keys etc. used to return an error code that used
37 GPG_ERR_SOURCE_DEFAULT as the source. GPG_ERR_SOURCE_USER_1 is what pwmd uses
38 now. This breaks compatibility with clients that make use of the error codes
39 (i.e., libpwmd). Be sure to update.
41 Non-option arguments on the command line are files to cache upon startup. This
42 acts like the 'cache_push' configuration parameter.
44 The location of the default configuration file is now ~/.pwmd/config and the
45 default data directory is ~/.pwmd/data, and the default log file ~/.pwmd/log.
46 This fixes clients opening these non-data filenames.
48 Fixed default configuration values when an rcfile doesn't have one.
50 The configuration parameters 'key' and 'key_file' now check to make sure the
51 key is valid before adding it to the cache like 'cache_push' does.
53 Clear the file cache and free the memlist on SIGABRT when debugging is not
54 enabled.
56 Added command line option -b to fork pwmd to the background.
58 Added configuration parameter "iteration_progress". pwmd will send the client
59 a status message showing the percent of iterations that are complete while
60 encrypting or decrypting a data file. The default is 0 which disables sending
61 status messages.
63 Sending SIGUSR1 to pwmd will reload the configuration file.
65 New protocol command REALPATH. This will resolve any "target" attribute for
66 all elements in the specified element path and return the result.
68 Some portability (FreeBSD and maybe others) fixes.
70 SIGTERM and SIGABRT are now properly caught in a child process.
72 Bugfixes.
75 PWMD v0.9
76 ---------
77 Now uses the assuan protocol. This requires libassuan and libgpg-error.
79 Clear the shared memory on exit.
81 The CACHE sub-commands ISCACHED, CLEARCACHE and CACHETIMEOUT have been made
82 into their own commands removing the CACHE command itself.
84 The RESETCACHE command and the cache_reset_timeout configuration parameter
85 have been removed. The cached files timeout is reset to it's configured value
86 (or set value with CACHETIMEOUT) after each OPEN or SAVE command.
88 The OPEN command can open another file using the same connection. Beware
89 though that if the OPEN of the new file fails, no file will be open at all.
91 When OPEN'ing a new file with a specified key, cache both the filename and
92 key. Before you had to SAVE to cache the key.
94 All commands will check if the file has been modified before continueing. Not
95 the cache commands though.
97 Don't unlink() a socket filename that wasn't created by pwmd.
99 Fixed allocating more slots than needed.
101 The commands GET, STORE, DELETE and ATTR make use of the "target" attribute
102 unless the element path argument is prefixed with a '!'. The LIST command
103 will support "target" in the next release, hopefully.
105 Accounts names can no longer begin with a '!' character to avoid problems with
106 the "target" attribute.
108 Removed EPWMD_ROOT_TEXT_ELEMENT. The STORE command will return
109 EPWMD_COMMAND_SYNTAX instead.
111 Added command line option -D and configuration parameter
112 "disable_list_and_dump". When specified or enabled, the LIST and DUMP protocol
113 commands will return EPWMD_EMPTY_ELEMENT.
116 PWMD v0.8
117 ---------
118 Use AM_XML2_PATH() for finding libxml2.
120 Split pwmd and libpwmd into their own projects. Both can be found at
121 http://bjk.sourceforge.net/pwmd/.
124 PWMD v0.7
125 ---------
126 cache_push and working directory bugfix.
128 Added two new configuration options "key" and "key_file". Works with
129 cache_push too.
131 Added a boolean "cache_reset_timeout" configuration option to reset the timer
132 for a cached key when the OPEN or SAVE commands are used.
134 Added two new protocol commands CACHE RESET which clears only the key for the
135 specified file and CACHE RESETALL which clears the key for all files.
137 The "name" and "target" attributes are now case-sensitive.
139 The value of an element path that contains a "target" attribute can be
140 obtained by prefixing the account element with a '!'.
143 PWMD v0.6
144 ---------
145 Fix for the LIST command. When an element path was specified and the document
146 had following elements in the tree the following elements would be shown.
148 Added the CACHE TIMEOUT command to specify the lifetime of a cached file in
149 seconds. This adds a new configuration file setting "cache_timeout".
151 Added per-file settings in the configuration file. A file section is declared
152 by placing the filename in braces. Only the "iterations" and "cache_timeout"
153 settings are used in a file section.
155 No longer chdir() to the data directory.
158 PWMD v0.5
159 ---------
160 If a file size is 0 then CACHE ISCACHED will return EPWMD_FILE_NOT_FOUND.
162 Write a structure to the data file which specifies the iterations and IV. This
163 lets you open a file that had a different iteration setting than the current
164 setting. Breaks file compatibility with previous versions for hopefully the
165 last time.
167 cache_push with an invalid password bugfix.
169 Added command line option -I to import an XML file and write the encrypted
170 data to stdout.
173 PWMD v0.4
174 ---------
175 Use AES-256-CBC to store the data file. This breaks file compatibility with
176 older versions. Sorry.
178 The ATTR protocol command has a new GET sub-command to get an attribute value
179 for an element path.
181 The LIST protocol command can now take an element path.
183 The DUMP command will format it's output.
185 Use MAP_ANONYMOUS|MAP_SHARED mmap() flags on Linux 2.4+. This won't create a
186 file in /dev/shm. #define MMAP_ANONYMOUS_SHARED in config.h if your OS
187 supports this.
189 Fixed closing file descriptors.
191 Fixed some memory leaks.
193 The contents of all memory allocated by Glib, libXML and libgcrypt is cleared
194 before free()ing.
196 Added an "iterations" configuration parameter. This specifies the amount of
197 times to encrypt the data to prevent dictionary attacks. Idea borrowed from
198 aespipe.
201 PWMD v0.3
202 ---------
203 The SETATTR protocol command has been renamed to ATTR. This new command
204 includes three new sub-commands: SET, DELETE and LIST, to SET or update an
205 attribute, DELETE to delete an attribute and LIST to list attributes of an
206 element path. Read PROTOCOL for details.
208 Added the TARGET attribute. If an element has this attribute set, it's value
209 is another element path. It's recursive too so the destination element path
210 can be an element with a TARGET attribute. Be careful of loops though.
212 Added the DUMP protocol command. It shows the in-memory document. Useful for
213 cleaning up empty elements that aren't shown with any command.
215 The "name" attribute can be used in any element but cannot be removed for the
216 root "account" element.
218 More strict element name validation for new elements.
220 Code reorganization. Protocol commands have been put in src/commands.c.
222 The LIST command won't show element values anymore unless DEBUG was defined at
223 compile time. You must use the GET command to get a value.
225 The OPEN and SAVE protocol commands no longer expect a base64 encoded key.
226 Plain text is where it's at.
228 The STORE command wont base64 encode the value. We'll leave it up to the
229 client. But it's still recommended to avoid parsing errors.
231 All of the command line options have been moved into a configuration file. By
232 default pwmd will look for it in ~/.pwmdrc. You can use -f to specify an
233 alternate file. If the file doesn't exist, then some defaults will be used.
234 There is one new config option though; "cache_push" will take a list of
235 filenames as an argument. This will prompt for passwords upon startup and add
236 the file to the cache. It's a (temporary?) fix for background processes that
237 don't have an attached tty (see libpwmd/KnownBugs). Just make sure the file
238 the other process needs is added to the cache.
241 PWMD v0.2
242 ---------
243 There is a library included in the archive to make interfacing the pwmd alot
244 easier. See libpwmd/README for more information.
246 A (temporary) fix for 100% CPU usage after a client connects.
248 GnuPG is no longer used for data encryption. Instead, libgcrypt will
249 encrypt/decrypt the data with AES-128 key. The OPEN and SAVE commands will
250 need the base64 encoded key.
252 Renamed host to hostname and added sslfingerprint to the DTD.
254 Added command line option -s to specify the socket path.
256 Added command line option -d to specify where pwmd will open and save the data
257 files.
259 Renamed protocol command SET to SETATTR.
261 Added shared memory file caching. If a file is found in the cache then the
262 cached password associated with the file will be used with the OPEN command.
263 With SAVE, if there is no cached password a key is required, else the cached
264 password will be used unless there is a key argument. This also adds a new
265 protocol command CACHE with 3 subcommands CLEARALL, CLEAR and ISCACHED.
266 Sending the SIGHUP signal to pwmd will clear the file cache.
268 Added command line option -M to disable calling mlockall(). mlock() will still
269 be used for the file cache reguardless of this option.
271 Added command line option -C to specify the file cache size. The cache size
272 must be in multiples of PAGE_SIZE.
274 Added command line option -l to enable logging to the specified file.
276 If there is a protocol command error, ERR is returned along with a protocol
277 error code and description. See src/pwmd_error.h for error codes.
279 Fix for the DELETE command and deleting an entire element tree when an invalid
280 element was in the element path.
282 Fix for the GET command and finding elements of the same name in other
283 accounts.
285 Added a manual page.
288 PWMD v0.1
289 ---------
290 Initial release.