Version 3.0.5.
[pwmd.git] / NEWS
blob81643c84be1b9569cc1f575ed0d1a2050d4e07ba
1 PWMD v3.0.5
2 -----------
3 More strict element and attribute names. Conform to the XML naming spec.
5 Log any non-fatal XML error. These may occur when loading or parsing
6 an XML file.
8 Fixed a memory leak.
10 Set XML standalone mode; and UTF-8 encoding explicitly (the default).
13 PWMD v3.0.4
14 -----------
15 A few "target" attribute fixes.
17 Updated Debian packaging stuff. Try 'make deb'.
20 PWMD v3.0.3
21 -----------
22 Fixed the PASSWD command requiring a passphrase for a non-PKI data file
23 without a passphrase.
25 Fixed a few memory leaks.
27 The 'OPTION disable-pinentry' now resets the gpg-agent '--pinentry-mode'
28 when needed.
30 Fixed new non-PKI data file cache entry getting cleared during SAVE.
32 The CLEARCACHE and CACHETIMEOUT commands now make use of the
33 "tls_access" configuration parameter in a data file section like the
34 OPEN command does. Also added a "-" flag to the fingerprint which
35 behaves like the "!" flag.
38 PWMD v3.0.2
39 -----------
40 The "allowed" configuration parameter now works in a data file section
41 and is a list of local user or group names allowed to open the data
42 file. The OPEN, CLEARCACHE and CACHETIMEOUT commands make use of
43 this. This also adds a deny flag '-' to a user or group name.
45 Fixed the cache timer to expire deferred cache entries. No longer need
46 to wait for the next OPEN or SAVE command.
48 Make use of the --no-passphrase option for non-PKI data files. This
49 adds the --no-passphrase option to the PASSWD command.
51 Show a backtrace on SIGABRT.
54 PWMD v3.0.1
55 -----------
56 Fix crash when checking the cache status of a new file.
58 Set the default cache_timeout configuration parameter to 600.
60 Set the default keepalive_interval to 60.
62 Fix SAVE not caching new files.
65 PWMD v3.0.0
66 -----------
67 This version contains quite a few changes and enhancements. Most
68 commands and syntax have changed in this release so please read the
69 example configuration file and the html or texinfo documentation in
70 the doc/ directory.
72 You will need to convert your existing pwmd v2.x data file to the new
73 data file format by doing the following:
75         $ pwmd --convert datafile -o newfile
77 then place "newfile" in ~/.pwmd/data. If you built with gpg-agent
78 support by passing --enable-agent to configure, then append
79 --use-agent to the above command line to use the gpg-agent to generate
80 a public and private keypair. No keypair is generated by default; the
81 data file is symmetrically encrypted.
83 Pwmd now supports the use of the gpg-agent for passphrase caching and
84 key management. This means smartcards are also supported. A "stub" of
85 the secret key is stored in the above mentioned key directory, but the
86 secret portion of the key is stored on the smartcard. To convert your
87 existing data while encrypting to an existing public key, pass the
88 --keygrip option with --convert or --import, along with
89 --use-agent. You may also need to pass the --sign-keygrip, too. See
90 the pwmd manual for details.
92 The XML document is now cached in pwmd when the passphrase is also
93 cached. This is needed to prevent requiring a smartcard to be inserted
94 for each OPEN command although it can still be required by setting the
95 CACHETIMEOUT of a data file to 0. Pwmd will operate on a copy of the
96 cached document and update the cached one after a SAVE. It is also
97 much faster than having to decrypt the data file during each OPEN.
98 The cached document is encrypted to prevent memory grepping attacks.
100 Ported to POSIX threads (pthreads).
102 Renamed error codes:
103     PWMD_LIBXML_ERROR -> GPG_ERR_BAD_DATA
104     PWMD_NO_FILE -> GPG_ERR_INV_STATE
105     PWMD_FILE_MODIFIED -> GPG_ERR_CHECKSUM
107 Most commands now have an --inquire option to retrieve remaining
108 non-option arguments via a server inquire. This avoids the libassuan
109 line length limit for longer element paths.
111 Added the PASSWD command to change the passphrase of a secret key or a
112 symmetrically encrypted key (SAVE --no-agent).
114 The IMPORT command can now import siblings.
116 Added the AGENT command to send a command directly to gpg-agent.
118 Added the GETINFO command to retrieve server details. This removes the
119 VERSION and GETPID commands.
121 Removed the CONFIG and KEEPALIVE status messages.
123 Added the NEWFILE status message to determine when the file OPEN'ed is
124 a new one.
126 Added ISCACHED --lock to lock the file mutex. This doesn't require an
127 OPEN'd file. It was added to prevent a race condition with another
128 client accessing the same file when one client needed to determine the
129 cache status before the OPEN.
131 Texinfo documentation and the manual page is generated from the
132 texinfo source.
134 Commands that normally returned GPG_ERR_NO_VALUE now return
135 GPG_ERR_NO_DATA.
137 The --iterations command line, configuration and SAVE options have
138 been renamed to "s2k-count". The PASSWD command can be used to change
139 this value for an existing secret key.
141 The CLEARCACHE command returns an error when the file mutex associated
142 with the data file is locked by another client. Although an error is
143 returned the cached file is flagged for cache removal which will occur
144 when the data file mutex is released.
146 Added LIST --all to retrieve the entire element tree. Flags are
147 appended to each element path when this option is used. See the
148 documentation for details.
150 The checksum is now a CRC32 checksum rather than a stat() of the ctime
151 of the data file.
153 Can now listen for remote connections via TLS (IPv4 and IPv6) as well
154 as the local UNIX domain socket.
156 Added tests. Run them with 'make tests' in the tests/ directory.
158 More portable: *BSD, SunOS/Solaris/OpenSolaris, Android and Linux and
159 32 and 64 bit versions of these as well as little and big endian.
161 Removed the libglib-2.0 dependency.