Version 3.3.1.
[pwmd.git] / NEWS
blob6d717f87d19ec7efe70a642b83bb1a92973c7435
1 PWMD v3.3.1
2 -----------
3 Added configuration parameters tls_ca_file, tls_crl_file, tls_server_cert and
4 tls_server_key. The defaults are the same as previous versions.
6 Fixed "LIST --sexp" truncating attribute values containing a space.
8 A few build and other fixes. See ChangeLog for details.
11 PWMD v3.3.0
12 -----------
13 When an ACL for an element is the empty string, treat the element as having a
14 non-existent _acl attribute. Now also tests for valid characters in a UNIX
15 username in an _acl value.
17 Now appends the current git commit hash to the version string to aid in
18 development.
20 Fixed to allow for larger PID values to be able to properly terminate or start
21 another daemon process.
23 Reworked the tests to use the TAP harness. Run 'make check' rather then 'make
24 tests' to run the tests. See tests/README for details.
26 Disabled TLS1.1 and CBC cipher suites by default.
28 Fixed creating a Debian package with 'make deb'.
30 An "allowed" configuration parameter value may now contain a whitelist of
31 local client command names that are allowed to connect or open a data file.
32 This is Linux specific for now.
34 Added the "--sexp" option to the LIST command to show elements along with
35 their attributes in an s-expression format.
37 Releases are now signed using a new signing key. The fingerprint of the new
38 key is 6078FEB430EFA427499E6E78555B69666326961C and is cross-signed with my
39 new primary key which is cross-signed with my old primary key. I don't believe
40 the old keys to be compromised; it is only to rotate them and update to newer
41 standards.
44 PWMD v3.2.2
45 -----------
46 Disable gpg-agent caching of the key for symmetrically encrypted data files.
47 The gpg-agent options to do this were previously mentioned in the pwmd
48 documentation, but we will pass the option to gpgme explicitly to prevent
49 misuse.
51 Portability fix.
54 PWMD v3.2.1
55 -----------
56 Fixed creating a Debian package from a tarball.
58 Fixed a crash during recursion loop detection.
60 Fixed a crash in the LIST command.
62 Fixed the GENKEY command to work properly when passed --expire due to a typo.
64 Fixed the BULK command to sometimes not work when not used as an --inquire.
66 Fixed the cache potentially returning a stale document.
68 Fixed the OPEN command to update the checksum for a reopened file.
70 Fixed a bug in the STORE command refusing the create an element path even with
71 proper access rights.
74 PWMD v3.2
75 ---------
76 Add the BULK protocol command to allow sending multiple commands using an
77 (semi) s-expression syntax. This can speed up remote connections quite a bit
78 since less socket IO is needed. This also adds a BULK status message to inform
79 the client of the current bulk command being run which may be needed when a
80 command inquires data from the client.
82 No longer flood a TLS client with assuan protocol comment lines when spinning
83 in a read.
85 The _mtime and _ctime element attributes can no longer be modified or removed
86 by a client.
88 All known attributes to pwmd are now prefixed with an _:
89     "target" -> "_target"
90     "expire" -> "_expire"
91     "expire_increment" -> "_age"
93 Added a "_version" attribute to the document root element to hold the current
94 version of pwmd.
97 PWMD v3.1.1
98 -----------
99 The XFER status message is now sent only once and before the transfer starts
100 leaving it to the client to calculate the amount of data transferred.
102 Added "LS --verbose" to include the filesystem atime, mtime and ctime
103 timestamps of data files.
105 Build, portability and other bug fixes. See ChangeLog for details.
108 PWMD v3.1
109 ---------
110 The project has moved to GitLab (https://gitlab.com/bjk/pwmd/wikis). Downloads
111 are still available at SourceForge but the issue tracker, git repository and
112 wiki are now hosted at GitLab.
114 Re-added the "tls_use_crl" configuration parameter although it is disabled by
115 default.
117 DELETE no longer does any confirmation before deleting public and private
118 keys.
120 Portability and undefined behavior bugfixes. See ChangeLog for details.
123 PWMD v3.1-beta3
124 ---------------
125 The LS command now sorts filenames.
127 Fixed a long standing memory leak related to a client's thread name.
129 Key expiration is now ignored when OPEN'ing a data file. The next SAVE will
130 fail if using an expired key. See docs for details about what to do.
132 The CACHETIMEOUT command now requires an opened data file and no longer
133 considers an "invoking_user". The syntax has also changed to require only a
134 timeout parameter.
136 Added GENKEY --no-expire to allow creating keys that do not expire.
138 GENKEY now requires an opened data file.
140 Bug fixes. See ChangeLog for details.
143 PWMD v3.1-beta2
144 ---------------
145 New GENKEY command to generate a new keypair or subkey of an existing key
146 without saving the data file to disk.
148 Removed key generation altogether from the SAVE command. You must generate a
149 new key with the GENKEY command or use an existing key and pass the
150 fingerprint to the --keyid option.  The --sign-keyid option is also required
151 for new data files.
153 The SAVE command now allows only a single signer. Although, multiple
154 recipients may be specified.
156 LISTKEYS no longer requires an open data file.
158 Added configuration parameter "strict_open" to prevent a (non-invoking) client
159 from creating a new data file.
161 New command DELETEKEY to remove the private key associated with the currently
162 opened data file from the keyring.
164 Added copy-on-write for commands that modify the document.
166 The DUMP command no longer does a checksum test.
169 PWMD v3.1-beta1
170 ---------------
171 Ported to libgpgme. Data files are now OpenPGP encrypted and signed. A signer
172 is required when using asymmetric encryption and optional if using symmetric
173 encryption.
175 New global configuration parameter "gpg_homedir". The default is
176 ~/.pwmd/.gnupg which will spawn a gpg-agent process with this as it's homedir.
177 The secret and public keyrings live here. To use your regular keyring set this
178 to ~/.gnupg. This removes the "gpg_agent_socket" configuration parameter.
180 Added the pwmd-dump(1) utility to dump the contents of a v3.0.x data file. The
181 output file can then be imported by using 'pwmd --import'. pwmd-dump can also
182 update a v3.1 raw XML file to the latest element or attribute changes by
183 passing the --xml option. See the pwmd-dump(1) manual page for details.
185 Removed the notion of "literal" elements. Targets are always followed for
186 elements that have a 'target' attribute. This changes how the ATTR command
187 works. See the pwmd texinfo or html docs for details. Also note the inherited
188 and reserved attributes for elements with a target.
190 The LIST command now always implies the deprecated '--verbose' and
191 '--with-target' switches and adds the '--recurse' switch to replace the also
192 deprecated '--all' switch.
194 Rewrote the LIST command to better handle recursion loops. Still needs some
195 work, though. See KnownBugs.
197 New special attributes 'expire' and 'expire_increment'. See docs for details.
198 This also adds a new STATUS_EXPIRE status message.
200 New command LISTKEYS to show available (secret) keyid's.
202 New command KEYINFO to show encryption and signing keyid's for an opened data
203 file and --learn to create private key stubs for keys stored on a smartcard.
205 New global configuration parameters "encrypt_to" and "always_trust".
207 Added connected timestamp field to 'GETINFO --verbose CLIENTS'.
209 New status messages PASSPHRASE_HINT and PASSPHRASE_INFO when pinentry is
210 disabled.
212 New global configuration option "backlog" to set the TCP backlog for TLS
213 connections. The default is 128 (Linux default, too).
215 All clients now are cancelled upon SIGINT and SIGTERM without waiting for them
216 to disconnect themselves.
218 Added OPTION CLIENT-STATE to allow a client to opt-in to receive client STATE
219 status messages. By default, no client state is sent.
221 CACHETIMEOUT now allows access to an invoking user.
223 TLS rehandshake support upon SIGHUP.
225 New configuration option "tls_dh_params_file". This removes "tls_dh_level".
227 Removed configuration option "tcp_wait".
229 OPEN: Always allow an invoking user.
231 CLEARCACHE: Reworked to test the client ACL for each data file.