Updated NEWS.
[pwmd.git] / NEWS
blob678ee8e7e165ef248d5670eee60f746b7e8796c7
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.
21 Clear the file cache and free the memlist on SIGABRT when debugging is not
22 enabled.
24 Added command line option -b to fork pwmd to the background.
26 Added configuration parameter "iteration_progress". pwmd will send the client
27 a status message showing the percent of iterations that are complete while
28 encrypting or decrypting a data file. The default is 0 which disables sending
29 status messages.
31 Sending SIGUSR1 to pwmd will reload the configuration file.
33 New protocol command REALPATH. This will resolve any "target" attribute for
34 all elements in the specified element path and return the result.
36 Bugfixes.
39 PWMD v0.9
40 ---------
41 Now uses the assuan protocol. This requires libassuan and libgpg-error.
43 Clear the shared memory on exit.
45 The CACHE sub-commands ISCACHED, CLEARCACHE and CACHETIMEOUT have been made
46 into their own commands removing the CACHE command itself.
48 The RESETCACHE command and the cache_reset_timeout configuration parameter
49 have been removed. The cached files timeout is reset to it's configured value
50 (or set value with CACHETIMEOUT) after each OPEN or SAVE command.
52 The OPEN command can open another file using the same connection. Beware
53 though that if the OPEN of the new file fails, no file will be open at all.
55 When OPEN'ing a new file with a specified key, cache both the filename and
56 key. Before you had to SAVE to cache the key.
58 All commands will check if the file has been modified before continueing. Not
59 the cache commands though.
61 Don't unlink() a socket filename that wasn't created by pwmd.
63 Fixed allocating more slots than needed.
65 The commands GET, STORE, DELETE and ATTR make use of the "target" attribute
66 unless the element path argument is prefixed with a '!'. The LIST command
67 will support "target" in the next release, hopefully.
69 Accounts names can no longer begin with a '!' character to avoid problems with
70 the "target" attribute.
72 Removed EPWMD_ROOT_TEXT_ELEMENT. The STORE command will return
73 EPWMD_COMMAND_SYNTAX instead.
75 Added command line option -D and configuration parameter
76 "disable_list_and_dump". When specified or enabled, the LIST and DUMP protocol
77 commands will return EPWMD_EMPTY_ELEMENT.
80 PWMD v0.8
81 ---------
82 Use AM_XML2_PATH() for finding libxml2.
84 Split pwmd and libpwmd into their own projects. Both can be found at
85 http://bjk.sourceforge.net/pwmd/.
88 PWMD v0.7
89 ---------
90 cache_push and working directory bugfix.
92 Added two new configuration options "key" and "key_file". Works with
93 cache_push too.
95 Added a boolean "cache_reset_timeout" configuration option to reset the timer
96 for a cached key when the OPEN or SAVE commands are used.
98 Added two new protocol commands CACHE RESET which clears only the key for the
99 specified file and CACHE RESETALL which clears the key for all files.
101 The "name" and "target" attributes are now case-sensitive.
103 The value of an element path that contains a "target" attribute can be
104 obtained by prefixing the account element with a '!'.
107 PWMD v0.6
108 ---------
109 Fix for the LIST command. When an element path was specified and the document
110 had following elements in the tree the following elements would be shown.
112 Added the CACHE TIMEOUT command to specify the lifetime of a cached file in
113 seconds. This adds a new configuration file setting "cache_timeout".
115 Added per-file settings in the configuration file. A file section is declared
116 by placing the filename in braces. Only the "iterations" and "cache_timeout"
117 settings are used in a file section.
119 No longer chdir() to the data directory.
122 PWMD v0.5
123 ---------
124 If a file size is 0 then CACHE ISCACHED will return EPWMD_FILE_NOT_FOUND.
126 Write a structure to the data file which specifies the iterations and IV. This
127 lets you open a file that had a different iteration setting than the current
128 setting. Breaks file compatibility with previous versions for hopefully the
129 last time.
131 cache_push with an invalid password bugfix.
133 Added command line option -I to import an XML file and write the encrypted
134 data to stdout.
137 PWMD v0.4
138 ---------
139 Use AES-256-CBC to store the data file. This breaks file compatibility with
140 older versions. Sorry.
142 The ATTR protocol command has a new GET sub-command to get an attribute value
143 for an element path.
145 The LIST protocol command can now take an element path.
147 The DUMP command will format it's output.
149 Use MAP_ANONYMOUS|MAP_SHARED mmap() flags on Linux 2.4+. This won't create a
150 file in /dev/shm. #define MMAP_ANONYMOUS_SHARED in config.h if your OS
151 supports this.
153 Fixed closing file descriptors.
155 Fixed some memory leaks.
157 The contents of all memory allocated by Glib, libXML and libgcrypt is cleared
158 before free()ing.
160 Added an "iterations" configuration parameter. This specifies the amount of
161 times to encrypt the data to prevent dictionary attacks. Idea borrowed from
162 aespipe.
165 PWMD v0.3
166 ---------
167 The SETATTR protocol command has been renamed to ATTR. This new command
168 includes three new sub-commands: SET, DELETE and LIST, to SET or update an
169 attribute, DELETE to delete an attribute and LIST to list attributes of an
170 element path. Read PROTOCOL for details.
172 Added the TARGET attribute. If an element has this attribute set, it's value
173 is another element path. It's recursive too so the destination element path
174 can be an element with a TARGET attribute. Be careful of loops though.
176 Added the DUMP protocol command. It shows the in-memory document. Useful for
177 cleaning up empty elements that aren't shown with any command.
179 The "name" attribute can be used in any element but cannot be removed for the
180 root "account" element.
182 More strict element name validation for new elements.
184 Code reorganization. Protocol commands have been put in src/commands.c.
186 The LIST command won't show element values anymore unless DEBUG was defined at
187 compile time. You must use the GET command to get a value.
189 The OPEN and SAVE protocol commands no longer expect a base64 encoded key.
190 Plain text is where it's at.
192 The STORE command wont base64 encode the value. We'll leave it up to the
193 client. But it's still recommended to avoid parsing errors.
195 All of the command line options have been moved into a configuration file. By
196 default pwmd will look for it in ~/.pwmdrc. You can use -f to specify an
197 alternate file. If the file doesn't exist, then some defaults will be used.
198 There is one new config option though; "cache_push" will take a list of
199 filenames as an argument. This will prompt for passwords upon startup and add
200 the file to the cache. It's a (temporary?) fix for background processes that
201 don't have an attached tty (see libpwmd/KnownBugs). Just make sure the file
202 the other process needs is added to the cache.
205 PWMD v0.2
206 ---------
207 There is a library included in the archive to make interfacing the pwmd alot
208 easier. See libpwmd/README for more information.
210 A (temporary) fix for 100% CPU usage after a client connects.
212 GnuPG is no longer used for data encryption. Instead, libgcrypt will
213 encrypt/decrypt the data with AES-128 key. The OPEN and SAVE commands will
214 need the base64 encoded key.
216 Renamed host to hostname and added sslfingerprint to the DTD.
218 Added command line option -s to specify the socket path.
220 Added command line option -d to specify where pwmd will open and save the data
221 files.
223 Renamed protocol command SET to SETATTR.
225 Added shared memory file caching. If a file is found in the cache then the
226 cached password associated with the file will be used with the OPEN command.
227 With SAVE, if there is no cached password a key is required, else the cached
228 password will be used unless there is a key argument. This also adds a new
229 protocol command CACHE with 3 subcommands CLEARALL, CLEAR and ISCACHED.
230 Sending the SIGHUP signal to pwmd will clear the file cache.
232 Added command line option -M to disable calling mlockall(). mlock() will still
233 be used for the file cache reguardless of this option.
235 Added command line option -C to specify the file cache size. The cache size
236 must be in multiples of PAGE_SIZE.
238 Added command line option -l to enable logging to the specified file.
240 If there is a protocol command error, ERR is returned along with a protocol
241 error code and description. See src/pwmd_error.h for error codes.
243 Fix for the DELETE command and deleting an entire element tree when an invalid
244 element was in the element path.
246 Fix for the GET command and finding elements of the same name in other
247 accounts.
249 Added a manual page.
252 PWMD v0.1
253 ---------
254 Initial release.