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