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