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