Fix build failure when not building with TLS support.
[libpwmd.git] / NEWS
blob86f384c9cf7a728aec55f1aafd2227b8bc1ae0c8
1 PWMD v3.0.13
2 ------------
3 Fixed configure.ac to use any required pthread CFLAGS or LIBS.
5 Thread cancellation fixes.
7 Client names specified with "OPTION name=value" may no longer contain
8 whitespace.
10 Added "GETINFO --verbose CLIENT" to show connected clients and their state.
12 Added the "STATE" status message which is sent to all connected clients during
13 a client state change and has the same format as the "GETINFO --verbose
14 CLIENTS" command. This also adds a new configuration parameter "send_state" to
15 disable sending the client state. The default is to send the client state. 
17 Added configuration parameter "lock_timeout" that behaves as the default for
18 "OPTION lock_timeout". The default is 5 seconds.
20 Added "KILL" command to terminate another client when the current one is the
21 "invoking_user".
24 PWMD v3.0.12
25 ------------
26 When opening a new file then opening another, the first file would be cached
27 when not saved. So remove the cache entry for non-saved file to prevent a
28 possible DoS.
30 Fixed the verbose flag of LIST to not append a "T" flag when no target
31 existed for a root element.
33 Updated Debian packaging info so 'make deb' should now reflect the current
34 version.
37 PWMD v3.0.11
38 ------------
39 Update to work with newest gpg-agent. This adds configuration parameter
40 "gpg_agent_socket" to replace "agent_env_file".
42 Fix doc/magic and the version string.
45 PWMD v3.0.10
46 ------------
47 Fixed SAVE --keygrip and --sign-keygrip when not a new file.
49 Fixed SAVE using the previously opened files signing key when the current file
50 is an new one.
52 Fixed TLS socket hanging during handshake failure.
54 Fixed TLS wait interval during EAGAIN.
56 Added GETINFO USER to return the client username/hash.
58 Fixed MOVE doing an unneeded permission check.
60 Fixed CACHETIMEOUT to apply the new timeout immediately and not wait for the
61 existing timer to expire.
63 Bugfixes. See ChangeLog for details.
67 PWMD v3.0.9
68 -----------
69 Fix SAVE --inquire-keyparam for new files.
71 Fix TLS fingerprint hash case comparison.
73 Check permissions before modifying a "target" attribute.
75 Access is denied for an element that does not contain an "_acl" attribute
76 unless the client is the invoking_user.
79 PWMD v3.0.8
80 -----------
81 Support for ELG keypairs.
83 The "allowed" configuration parameter supports TLS fingerprint hashes by
84 prefixing the hash with a '#' character. This removes the "tls_access"
85 configuration parameter.
87 Added configuration parameter "allowed_file" which should contain one
88 username, group name or hash per line and has the same syntax as the "allowed"
89 parameter.
91 TLS fingerprint hashes are now in SHA256 format and not SHA1 and when
92 specified in a configuration parameter, or "allowed_file", should be
93 prefixed with a '#'.
95 Added per-element access control lists (ACL). Works like the "allowed"
96 configuration parameter but the ACL is stored in the element attribute "_acl".
97 This adds a LIST --verbose flag 'P' to indicate that the current client is not
98 allowed access to the element. This also adds the "invoking_user" and
99 "invoking_tls" configuration parameters. See the documentation for details. 
101 Removed libacl support for data files. It isn't very useful.
103 Fixed a recursion loop in the LIST command. See move test #8 and #9.
105 Disable attaching to the pwmd process. This is Linux specific and has the
106 effect of hiding the pwmd process from 'ps' output.
108 A few other bug fixes. See ChangeLog for details.
111 PWMD v3.0.7
112 -----------
113 More lenient element and attribute names. This reverts the behavior introduced
114 in version 3.0.5. This allows for things like '@' or digits in an element or
115 attribute name making pwmd more useful. I don't remember why I made it so
116 strict in that version so I'll revert it for now until I do remember.
119 PWMD v3.0.6
120 -----------
121 Write a PID file upon startup to detect a stale socket when running another
122 instance.
124 Bind to the local socket before doing cache pushing.
126 Added command line option --force as an alias to --ignore.
128 Fixed a few cppcheck(1) warnings.
130 Fixed a bug that ignored the return value from launch_pinentry().
132 Added configuration parameter "log_keepopen" for use when logging to a file.
135 PWMD v3.0.5
136 -----------
137 More strict element and attribute names. Conform to the XML naming spec.
139 Log any non-fatal XML error. These may occur when loading or parsing
140 an XML file.
142 Fixed a memory leak.
144 Set XML standalone mode; and UTF-8 encoding explicitly (the default).
147 PWMD v3.0.4
148 -----------
149 A few "target" attribute fixes.
151 Updated Debian packaging stuff. Try 'make deb'.
154 PWMD v3.0.3
155 -----------
156 Fixed the PASSWD command requiring a passphrase for a non-PKI data file
157 without a passphrase.
159 Fixed a few memory leaks.
161 The 'OPTION disable-pinentry' now resets the gpg-agent '--pinentry-mode'
162 when needed.
164 Fixed new non-PKI data file cache entry getting cleared during SAVE.
166 The CLEARCACHE and CACHETIMEOUT commands now make use of the
167 "tls_access" configuration parameter in a data file section like the
168 OPEN command does. Also added a "-" flag to the fingerprint which
169 behaves like the "!" flag.
172 PWMD v3.0.2
173 -----------
174 The "allowed" configuration parameter now works in a data file section
175 and is a list of local user or group names allowed to open the data
176 file. The OPEN, CLEARCACHE and CACHETIMEOUT commands make use of
177 this. This also adds a deny flag '-' to a user or group name.
179 Fixed the cache timer to expire deferred cache entries. No longer need
180 to wait for the next OPEN or SAVE command.
182 Make use of the --no-passphrase option for non-PKI data files. This
183 adds the --no-passphrase option to the PASSWD command.
185 Show a backtrace on SIGABRT.
188 PWMD v3.0.1
189 -----------
190 Fix crash when checking the cache status of a new file.
192 Set the default cache_timeout configuration parameter to 600.
194 Set the default keepalive_interval to 60.
196 Fix SAVE not caching new files.
199 PWMD v3.0.0
200 -----------
201 This version contains quite a few changes and enhancements. Most
202 commands and syntax have changed in this release so please read the
203 example configuration file and the html or texinfo documentation in
204 the doc/ directory.
206 You will need to convert your existing pwmd v2.x data file to the new
207 data file format by doing the following:
209         $ pwmd --convert datafile -o newfile
211 then place "newfile" in ~/.pwmd/data. If you built with gpg-agent
212 support by passing --enable-agent to configure, then append
213 --use-agent to the above command line to use the gpg-agent to generate
214 a public and private keypair. No keypair is generated by default; the
215 data file is symmetrically encrypted.
217 Pwmd now supports the use of the gpg-agent for passphrase caching and
218 key management. This means smartcards are also supported. A "stub" of
219 the secret key is stored in the above mentioned key directory, but the
220 secret portion of the key is stored on the smartcard. To convert your
221 existing data while encrypting to an existing public key, pass the
222 --keygrip option with --convert or --import, along with
223 --use-agent. You may also need to pass the --sign-keygrip, too. See
224 the pwmd manual for details.
226 The XML document is now cached in pwmd when the passphrase is also
227 cached. This is needed to prevent requiring a smartcard to be inserted
228 for each OPEN command although it can still be required by setting the
229 CACHETIMEOUT of a data file to 0. Pwmd will operate on a copy of the
230 cached document and update the cached one after a SAVE. It is also
231 much faster than having to decrypt the data file during each OPEN.
232 The cached document is encrypted to prevent memory grepping attacks.
234 Ported to POSIX threads (pthreads).
236 Renamed error codes:
237     PWMD_LIBXML_ERROR -> GPG_ERR_BAD_DATA
238     PWMD_NO_FILE -> GPG_ERR_INV_STATE
239     PWMD_FILE_MODIFIED -> GPG_ERR_CHECKSUM
241 Most commands now have an --inquire option to retrieve remaining
242 non-option arguments via a server inquire. This avoids the libassuan
243 line length limit for longer element paths.
245 Added the PASSWD command to change the passphrase of a secret key or a
246 symmetrically encrypted key (SAVE --no-agent).
248 The IMPORT command can now import siblings.
250 Added the AGENT command to send a command directly to gpg-agent.
252 Added the GETINFO command to retrieve server details. This removes the
253 VERSION and GETPID commands.
255 Removed the CONFIG and KEEPALIVE status messages.
257 Added the NEWFILE status message to determine when the file OPEN'ed is
258 a new one.
260 Added ISCACHED --lock to lock the file mutex. This doesn't require an
261 OPEN'd file. It was added to prevent a race condition with another
262 client accessing the same file when one client needed to determine the
263 cache status before the OPEN.
265 Texinfo documentation and the manual page is generated from the
266 texinfo source.
268 Commands that normally returned GPG_ERR_NO_VALUE now return
269 GPG_ERR_NO_DATA.
271 The --iterations command line, configuration and SAVE options have
272 been renamed to "s2k-count". The PASSWD command can be used to change
273 this value for an existing secret key.
275 The CLEARCACHE command returns an error when the file mutex associated
276 with the data file is locked by another client. Although an error is
277 returned the cached file is flagged for cache removal which will occur
278 when the data file mutex is released.
280 Added LIST --all to retrieve the entire element tree. Flags are
281 appended to each element path when this option is used. See the
282 documentation for details.
284 The checksum is now a CRC32 checksum rather than a stat() of the ctime
285 of the data file.
287 Can now listen for remote connections via TLS (IPv4 and IPv6) as well
288 as the local UNIX domain socket.
290 Added tests. Run them with 'make tests' in the tests/ directory.
292 More portable: *BSD, SunOS/Solaris/OpenSolaris, Android and Linux and
293 32 and 64 bit versions of these as well as little and big endian.
295 Removed the libglib-2.0 dependency.