Fix SAVE --inquire-keyparam for new files.
[pwmd.git] / NEWS
blob15fab8239ac3456dce14d171ec254dc253866344
1 PWMD v3.0.8
2 -----------
3 Support for ELG keypairs.
5 The "allowed" configuration parameter supports TLS fingerprint hashes by
6 prefixing the hash with a '#' character. This removes the "tls_access"
7 configuration parameter.
9 Added configuration parameter "allowed_file" which should contain one
10 username, group name or hash per line and has the same syntax as the "allowed"
11 parameter.
13 TLS fingerprint hashes are now in SHA256 format and not SHA1 and when
14 specified in a configuration parameter, or "allowed_file", should be
15 prefixed with a '#'.
17 Added per-element access control lists (ACL). Works like the "allowed"
18 configuration parameter but the ACL is stored in the element attribute "_acl".
19 This adds a LIST --verbose flag 'P' to indicate that the current client is not
20 allowed access to the element. This also adds the "invoking_user" and
21 "invoking_tls" configuration parameters. See the documentation for details. 
23 Removed libacl support for data files. It isn't very useful.
25 Fixed a recursion loop in the LIST command. See move test #8 and #9.
27 Disable attaching to the pwmd process. This is Linux specific and has the
28 effect of hiding the pwmd process from 'ps' output.
30 A few other bug fixes. See ChangeLog for details.
33 PWMD v3.0.7
34 -----------
35 More lenient element and attribute names. This reverts the behavior introduced
36 in version 3.0.5. This allows for things like '@' or digits in an element or
37 attribute name making pwmd more useful. I don't remember why I made it so
38 strict in that version so I'll revert it for now until I do remember.
41 PWMD v3.0.6
42 -----------
43 Write a PID file upon startup to detect a stale socket when running another
44 instance.
46 Bind to the local socket before doing cache pushing.
48 Added command line option --force as an alias to --ignore.
50 Fixed a few cppcheck(1) warnings.
52 Fixed a bug that ignored the return value from launch_pinentry().
54 Added configuration parameter "log_keepopen" for use when logging to a file.
57 PWMD v3.0.5
58 -----------
59 More strict element and attribute names. Conform to the XML naming spec.
61 Log any non-fatal XML error. These may occur when loading or parsing
62 an XML file.
64 Fixed a memory leak.
66 Set XML standalone mode; and UTF-8 encoding explicitly (the default).
69 PWMD v3.0.4
70 -----------
71 A few "target" attribute fixes.
73 Updated Debian packaging stuff. Try 'make deb'.
76 PWMD v3.0.3
77 -----------
78 Fixed the PASSWD command requiring a passphrase for a non-PKI data file
79 without a passphrase.
81 Fixed a few memory leaks.
83 The 'OPTION disable-pinentry' now resets the gpg-agent '--pinentry-mode'
84 when needed.
86 Fixed new non-PKI data file cache entry getting cleared during SAVE.
88 The CLEARCACHE and CACHETIMEOUT commands now make use of the
89 "tls_access" configuration parameter in a data file section like the
90 OPEN command does. Also added a "-" flag to the fingerprint which
91 behaves like the "!" flag.
94 PWMD v3.0.2
95 -----------
96 The "allowed" configuration parameter now works in a data file section
97 and is a list of local user or group names allowed to open the data
98 file. The OPEN, CLEARCACHE and CACHETIMEOUT commands make use of
99 this. This also adds a deny flag '-' to a user or group name.
101 Fixed the cache timer to expire deferred cache entries. No longer need
102 to wait for the next OPEN or SAVE command.
104 Make use of the --no-passphrase option for non-PKI data files. This
105 adds the --no-passphrase option to the PASSWD command.
107 Show a backtrace on SIGABRT.
110 PWMD v3.0.1
111 -----------
112 Fix crash when checking the cache status of a new file.
114 Set the default cache_timeout configuration parameter to 600.
116 Set the default keepalive_interval to 60.
118 Fix SAVE not caching new files.
121 PWMD v3.0.0
122 -----------
123 This version contains quite a few changes and enhancements. Most
124 commands and syntax have changed in this release so please read the
125 example configuration file and the html or texinfo documentation in
126 the doc/ directory.
128 You will need to convert your existing pwmd v2.x data file to the new
129 data file format by doing the following:
131         $ pwmd --convert datafile -o newfile
133 then place "newfile" in ~/.pwmd/data. If you built with gpg-agent
134 support by passing --enable-agent to configure, then append
135 --use-agent to the above command line to use the gpg-agent to generate
136 a public and private keypair. No keypair is generated by default; the
137 data file is symmetrically encrypted.
139 Pwmd now supports the use of the gpg-agent for passphrase caching and
140 key management. This means smartcards are also supported. A "stub" of
141 the secret key is stored in the above mentioned key directory, but the
142 secret portion of the key is stored on the smartcard. To convert your
143 existing data while encrypting to an existing public key, pass the
144 --keygrip option with --convert or --import, along with
145 --use-agent. You may also need to pass the --sign-keygrip, too. See
146 the pwmd manual for details.
148 The XML document is now cached in pwmd when the passphrase is also
149 cached. This is needed to prevent requiring a smartcard to be inserted
150 for each OPEN command although it can still be required by setting the
151 CACHETIMEOUT of a data file to 0. Pwmd will operate on a copy of the
152 cached document and update the cached one after a SAVE. It is also
153 much faster than having to decrypt the data file during each OPEN.
154 The cached document is encrypted to prevent memory grepping attacks.
156 Ported to POSIX threads (pthreads).
158 Renamed error codes:
159     PWMD_LIBXML_ERROR -> GPG_ERR_BAD_DATA
160     PWMD_NO_FILE -> GPG_ERR_INV_STATE
161     PWMD_FILE_MODIFIED -> GPG_ERR_CHECKSUM
163 Most commands now have an --inquire option to retrieve remaining
164 non-option arguments via a server inquire. This avoids the libassuan
165 line length limit for longer element paths.
167 Added the PASSWD command to change the passphrase of a secret key or a
168 symmetrically encrypted key (SAVE --no-agent).
170 The IMPORT command can now import siblings.
172 Added the AGENT command to send a command directly to gpg-agent.
174 Added the GETINFO command to retrieve server details. This removes the
175 VERSION and GETPID commands.
177 Removed the CONFIG and KEEPALIVE status messages.
179 Added the NEWFILE status message to determine when the file OPEN'ed is
180 a new one.
182 Added ISCACHED --lock to lock the file mutex. This doesn't require an
183 OPEN'd file. It was added to prevent a race condition with another
184 client accessing the same file when one client needed to determine the
185 cache status before the OPEN.
187 Texinfo documentation and the manual page is generated from the
188 texinfo source.
190 Commands that normally returned GPG_ERR_NO_VALUE now return
191 GPG_ERR_NO_DATA.
193 The --iterations command line, configuration and SAVE options have
194 been renamed to "s2k-count". The PASSWD command can be used to change
195 this value for an existing secret key.
197 The CLEARCACHE command returns an error when the file mutex associated
198 with the data file is locked by another client. Although an error is
199 returned the cached file is flagged for cache removal which will occur
200 when the data file mutex is released.
202 Added LIST --all to retrieve the entire element tree. Flags are
203 appended to each element path when this option is used. See the
204 documentation for details.
206 The checksum is now a CRC32 checksum rather than a stat() of the ctime
207 of the data file.
209 Can now listen for remote connections via TLS (IPv4 and IPv6) as well
210 as the local UNIX domain socket.
212 Added tests. Run them with 'make tests' in the tests/ directory.
214 More portable: *BSD, SunOS/Solaris/OpenSolaris, Android and Linux and
215 32 and 64 bit versions of these as well as little and big endian.
217 Removed the libglib-2.0 dependency.