/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to NEWS

* initramfs-tools-hook: Bug fix: Add "--userid" and "--groupid" to
                        start of "plugin-runner.conf" file instead of
                        appending, to allow any preexisting options to
                        override.
* plugin-runner.conf: Improved wording.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
This NEWS file records noteworthy changes, very tersely.
2
2
See the manual for detailed information.
3
3
 
4
 
Version 1.8.7 (2019-08-05)
5
 
* Client:
6
 
** Always compile with LFS (Large File Support) enabled.
7
 
* Server
8
 
** Improve intro(8mandos) manual page to cover dracut(8) support.
9
 
 
10
 
Version 1.8.6 (2019-08-03)
11
 
* Client:
12
 
** dracut support: In password-agent, properly ignore deleted and
13
 
   renamed question files, and also fix memory alignment issue.
14
 
 
15
 
Version 1.8.5 (2019-07-30)
16
 
* Client
17
 
** Support dracut(8) as well as initramfs-tools(7).
18
 
** Minor bug fix: Allow the mandos-keygen --passfile option to use
19
 
   passfiles with names starting with "-".
20
 
** Document known limitation of mandos-keygen --password; it strips
21
 
   white space from start and end of the password.
22
 
* Server
23
 
** Bug fix: The server used to fail to restart if the "port" setting
24
 
   was used.  This has been fixed.
25
 
** Minor bug fix: Reap zombies left over from checker runs.  (Debian
26
 
   bug #933387)
27
 
 
28
 
Version 1.8.4 (2019-04-09)
29
 
* Client
30
 
** Fix minor memory leak in plugin-runner.
31
 
* Server
32
 
** mandos-ctl now has a --debug option to show D-Bus calls.
33
 
 
34
 
Version 1.8.3 (2019-02-11)
35
 
* No user-visible changes.
36
 
 
37
 
Version 1.8.2 (2019-02-10)
38
 
* Client
39
 
** In mandos-keygen, ignore failures to remove files in some cases.
40
 
 
41
 
Version 1.8.1 (2019-02-10)
42
 
* Client
43
 
** Only generate TLS keys using GnuTLS' certtool, of sufficient
44
 
   version.  Key generation of TLS keys will not happen until a
45
 
   version of GnuTLS is installed with support for raw public keys.
46
 
** Remove any bad keys created by 1.8.0 and openssl.
47
 
* Server
48
 
** On installation, edit clients.conf and remove the same bad key ID
49
 
   which was erroneously reported by all 1.8.0 clients.  Also do not
50
 
   trust this key ID in the server.
51
 
 
52
 
Version 1.8.0 (2019-02-10)
53
 
* Client
54
 
** Use new TLS keys for server communication and identification.
55
 
   With GnuTLS 3.6 or later, OpenPGP keys are no longer supported.
56
 
   The client can now use the new "raw public keys" (RFC 7250) API
57
 
   instead, using GnuTLS 3.6.6.  Please note: This *requires* new key
58
 
   IDs to be added to server's client.conf file.
59
 
** New --tls-privkey and --tls-pubkey options to load TLS key files.
60
 
   If GnuTLS is too old, these options do nothing.
61
 
* Server
62
 
** Supports either old or new GnuTLS.
63
 
   The server now supports using GnuTLS 3.6.6 and clients connecting
64
 
   with "raw public keys" as identification.  The server will read
65
 
   both fingerprints and key IDs from clients.conf file, and will use
66
 
   either one or the other, depending on what is supported by GnuTLS
67
 
   on the system.  Please note: both are *not* supported at once; if
68
 
   one type is supported by GnuTLS, all values of the other type from
69
 
   clients.conf are ignored.
70
 
 
71
 
Version 1.7.20 (2018-08-19)
72
 
* Client
73
 
** Fix: Adapt to the Debian cryptsetup package 2.0.3 or later.
74
 
   Important: in that version or later, the plugins "askpass-fifo",
75
 
   "password-prompt", and "plymouth" will no longer be run, since they
76
 
   would conflict with what cryptsetup is doing.  Other plugins, such
77
 
   as mandos-client and any user-supplied plugins, will still run.
78
 
** Better error message if failing to decrypt secret data
79
 
** Check for (and report) any key import failure from GPGME
80
 
** Better error message if self-signature verification fails
81
 
** Set system clock if not set; required by GnuPG for key import
82
 
** When debugging plugin-runner, it will now show starting plugins
83
 
 
84
 
Version 1.7.19 (2018-02-22)
85
 
* Client
86
 
** Do not print "unlink(...): No such file or directory".
87
 
** Bug fixes: Fix file descriptor leaks.
88
 
** Bug fix: Don't use leak sanitizer with leaking libraries.
89
 
 
90
 
Version 1.7.18 (2018-02-12)
91
 
* Client
92
 
** Bug fix: Revert faulty fix for a nonexistent bug in the
93
 
   plugin-runner
94
 
 
95
 
Version 1.7.17 (2018-02-10)
96
 
* Client
97
 
** Bug fix: Fix a memory leak in the plugin-runner
98
 
** Bug fix: Fix memory leaks in the plymouth plugin
99
 
 
100
 
Version 1.7.16 (2017-08-20)
101
 
* Client
102
 
** Bug fix: ignore "resumedev" entries in initramfs' cryptroot file
103
 
** Bug fix in plymouth plugin: fix memory leak, avoid warning output
104
 
 
105
 
Version 1.7.15 (2017-02-23)
106
 
* Server
107
 
** Bug fix: Respect the mandos.conf "zeroconf" and "restore" options
108
 
* Client
109
 
** Bug fix in mandos-keygen: Handle backslashes in passphrases
110
 
 
111
 
Version 1.7.14 (2017-01-25)
112
 
* Server
113
 
** Use "Requisite" instead of "RequisiteOverridable" in systemd
114
 
   service file.
115
 
 
116
 
Version 1.7.13 (2016-10-08)
117
 
* Client
118
 
** Minor bug fix: Don't ask for passphrase or fail when generating
119
 
   keys using GnuPG 2.1 in a chrooted environment.
120
 
 
121
 
Version 1.7.12 (2016-10-05)
122
 
* Client
123
 
** Bug fix: Don't crash after exit() when using DH parameters file
124
 
 
125
 
Version 1.7.11 (2016-10-01)
126
 
* Client
127
 
** Security fix: Don't compile with AddressSanitizer
128
 
* Server
129
 
** Bug fix: Find GnuTLS library when gnutls28-dev is not installed
130
 
** Bug fix: Include "Expires" and "Last Checker Status" in mandos-ctl
131
 
   verbose output
132
 
** New option for mandos-ctl: --dump-json
133
 
 
134
 
Version 1.7.10 (2016-06-23)
135
 
* Client
136
 
** Security fix: restrict permissions of /etc/mandos/plugin-helpers
137
 
* Server
138
 
** Bug fix: Make the --interface flag work with Python 2.7 when "cc"
139
 
   is not installed
140
 
 
141
 
Version 1.7.9 (2016-06-22)
142
 
* Client
143
 
** Do not include intro(8mandos) man page
144
 
 
145
 
Version 1.7.8 (2016-06-21)
146
 
* Client
147
 
** Include intro(8mandos) man page
148
 
** mandos-keygen: Use ECDSA SSH keys by default
149
 
** Bug fix: Work with GnuPG 2 when booting (Debian bug #819982)
150
 
   by copying /usr/bin/gpg-agent into initramfs
151
 
* Server
152
 
** Bug fix: Work with GnuPG 2 (don't use --no-use-agent option)
153
 
** Bug fix: Make the --interface option work when using Python 2.7
154
 
   by trying harder to find SO_BINDTODEVICE
155
 
 
156
 
Version 1.7.7 (2016-03-19)
157
 
* Client
158
 
** Fix bug in Plymouth client, broken since 1.7.2
159
 
 
160
 
Version 1.7.6 (2016-03-13)
161
 
* Server
162
 
** Fix bug where stopping server would time out
163
 
** Make server runnable with Python 3
164
 
 
165
 
Version 1.7.5 (2016-03-08)
166
 
* Server
167
 
** Fix security restrictions in systemd service file.
168
 
** Work around bug where stopping server would time out
169
 
 
170
 
Version 1.7.4 (2016-03-05)
171
 
* Client
172
 
** Bug fix: Tolerate errors from configure_networking (Debian Bug
173
 
   #816513)
174
 
** Compilation: Only use sanitizing options which work with the
175
 
   compiler used when building.  This should fix compilation with GCC
176
 
   4.9 on mips, mipsel, and s390x.
177
 
* Server
178
 
** Add extra security restrictions in systemd service file.
179
 
 
180
 
Version 1.7.3 (2016-02-29)
181
 
* Client
182
 
** Bug fix: Remove new type of keyring directory user by GnuPG 2.1.
183
 
** Bug fix: Remove "nonnull" attribute from a function argument, which
184
 
   would otherwise generate a spurious runtime warning.
185
 
 
186
 
Version 1.7.2 (2016-02-28)
187
 
* Server
188
 
** Stop using python-gnutls library; it was not updated to GnuTLS 3.3.
189
 
** Bug fix: Only send D-Bus signal ClientRemoved if using D-Bus.
190
 
** Use GnuPG 2 if available.
191
 
* Client
192
 
** Compile with various sanitizing flags.
193
 
 
194
 
Version 1.7.1 (2015-10-24)
195
 
* Client
196
 
** Bug fix: Can now really find Mandos server even if the server has
197
 
   an IPv6 address on a network other than the one which the Mandos
198
 
   server is on.
199
 
 
200
 
Version 1.7.0 (2015-08-10)
201
 
* Server
202
 
** Bug fix: Handle local Zeroconf service name collisions better.
203
 
** Bug fix: Finally fix "ERROR: Child process vanished" bug.
204
 
** Bug fix: Fix systemd service file to start server correctly.
205
 
** Bug fix: Be compatible with old 2048-bit DSA keys.
206
 
** The D-Bus API now provides the standard D-Bus ObjectManager
207
 
   interface, and deprecates older functionality.  See the DBUS-API
208
 
   file for the currently recommended API.  Note: the original API
209
 
   still works, but is deprecated.
210
 
* Client
211
 
** Can now find Mandos server even if the server has an IPv6 address
212
 
   on a network without IPv6 Router Advertisment (like if the Mandos
213
 
   client itself is the router, or there is an IPv6 router advertising
214
 
   a network other than the one which the Mandos server is on.)
215
 
** Use a better value than 1024 for the default number of DH bits.
216
 
   This better value is either provided by a DH parameters file (see
217
 
   below) or an appropriate number of DH bits is determined based on
218
 
   the PGP key.
219
 
** Bug fix: mandos-keygen now generates correct output for the
220
 
   "Checker" variable even if the SSH server on the Mandos client has
221
 
   multiple SSH key types.
222
 
** Can now use pre-generated Diffie-Hellman parameters from a file.
223
 
 
224
 
Version 1.6.9 (2014-10-05)
225
 
* Server
226
 
** Changed to emit standard D-Bus signal when D-Bus properties change.
227
 
   (The old signal is still emitted too, but marked as deprecated.)
228
 
 
229
 
Version 1.6.8 (2014-08-06)
230
 
* Client
231
 
** Bug fix: mandos-keygen now generates working SSH checker commands.
232
 
* Server
233
 
** Bug fix: "mandos-monitor" now really redraws screen on Ctrl-L.
234
 
** Now requires Python 2.7.
235
 
 
236
 
Version 1.6.7 (2014-07-17)
237
 
* Client
238
 
** Bug fix: Now compatible with GPGME 1.5.0.
239
 
** Bug fix: Fixed minor memory leaks.
240
 
* Server
241
 
** "mandos-monitor" now has verbose logging, toggleable with "v".
242
 
 
243
 
Version 1.6.6 (2014-07-13)
244
 
* Client
245
 
** If client host has an SSH server, "mandos-keygen --password" now
246
 
   outputs "checker" option which uses "ssh-keyscan"; this is more
247
 
   secure than the default "fping" checker.
248
 
** Bug fix: allow "." in network hook names, to match documentation.
249
 
** Better error messages.
250
 
* Server
251
 
** New --no-zeroconf option.
252
 
** Bug fix: Fix --servicename option, broken since 1.6.4.
253
 
** Bug fix: Fix --socket option work for --socket=0.
254
 
 
255
 
Version 1.6.5 (2014-05-11)
256
 
* Client
257
 
** Work around bug in GnuPG <http://bugs.g10code.com/gnupg/issue1622>
258
 
** Give better error messages when run without sufficient privileges
259
 
** Only warn if workaround for Debian bug #633582 was necessary and
260
 
   failed, not if it failed and was unnecessary.
261
 
 
262
 
Version 1.6.4 (2014-02-16)
263
 
* Server
264
 
** Very minor fix to self-test code.
265
 
 
266
 
Version 1.6.3 (2014-01-21)
267
 
* Server
268
 
** Add systemd support.
269
 
** For PID file, fall back to /var/run if /run does not exist.
270
 
* Client
271
 
** Moved files from /usr/lib/mandos to whatever the architecture
272
 
   specifies, like /usr/lib/x86_64-linux-gnu/mandos or
273
 
   /usr/lib64/mandos.
274
 
 
275
 
Version 1.6.2 (2013-10-24)
276
 
* Server
277
 
** PID file moved from /var/run to /run.
278
 
** Bug fix: Handle long secrets when saving client state.
279
 
** Bug fix: Use more magic in the GnuTLS priority string to handle
280
 
   both old DSA/ELG 2048-bit keys and new RSA/RSA 4096-bit keys.
281
 
* Client
282
 
** mandos-keygen: Bug fix: now generate RSA keys which GnuTLS can use.
283
 
                  Bug fix: Output passphrase prompts even when
284
 
                  redirecting standard output.
285
 
 
286
 
Version 1.6.1 (2013-10-13)
287
 
* Server
288
 
** All client options for time intervals now also take an RFC 3339
289
 
   duration.  The same for all options to mandos-ctl.
290
 
** Bug fix: Handle fast checkers (like ":") correctly.
291
 
** Bug fix: Don't print output from checkers when running in
292
 
   foreground.
293
 
** Bug fix: Do not fail when client is removed from clients.conf but
294
 
   saved settings remain.
295
 
** Bug fix: mandos-monitor now displays standout (reverse video) again
296
 
   using new version of Urwid.
297
 
** Bug fix: Make boolean options work from the config file again.
298
 
** Bug fix: Make --no-ipv6 work again.
299
 
** New default priority string to be slightly more compatible with
300
 
   older versions of GnuTLS.
301
 
* Client
302
 
** Bug fix: Fix bashism in mandos-keygen.
303
 
** Default key and subkey types are now RSA and RSA, respectively.
304
 
   Also, new default key size is 4096 bits.
305
 
 
306
 
Version 1.6.0 (2012-06-18)
307
 
* Server
308
 
** Takes new --foreground option
309
 
** Init script supports new "status" action.
310
 
* Client
311
 
** Now uses all interfaces by default; the --interface option can
312
 
   still be used to restrict it, and the argument to --interface (as
313
 
   well as the $DEVICE environment variable for the network hooks) is
314
 
   now a comma-separated list of interfaces to use.
315
 
 
316
 
Version 1.5.5 (2012-06-01)
317
 
* Server
318
 
** Server takes new --socket option
319
 
 
320
 
Version 1.5.4 (2012-05-20)
321
 
* Server
322
 
** Bug fix: Regression fix: Make non-zero approval timeout values work.
323
 
** Bug fix: Regression fix: Allow changing the Timeout D-Bus property.
324
 
** Fall back to not bind to an interface if an invalid interface name
325
 
   is given.
326
 
** Removed support for undocumented feature of using plain "%%s" in
327
 
   "checker" client option.
328
 
** Old D-Bus interface are now marked as deprecated.
329
 
** mandos-monitor: Bug fix: show approval timers correctly.
330
 
** mandos-ctl: Show "Extended Timeout" correctly, not as milliseconds.
331
 
 
332
 
Version 1.5.3 (2012-01-15)
333
 
* Server
334
 
** Add D-Bus property se.recompile.Client.LastCheckerStatus and use it
335
 
   in mandos-monitor.
336
 
* Client
337
 
** Fix bugs in the example "bridge" network hook.
338
 
 
339
 
Version 1.5.2 (2012-01-08)
340
 
* Server
341
 
** Removed D-Bus signal se.recompile.Mandos.NewRequest() added in
342
 
   1.5.0.  It was buggy and was of questionable utility.
343
 
 
344
 
Version 1.5.1 (2012-01-01)
345
 
* Server
346
 
** Include intro(8mandos) manual page, missing since migration from
347
 
   README file in version 1.4.0.
348
 
 
349
 
Version 1.5.0 (2012-01-01)
350
 
* Client
351
 
** Network hooks.  The Mandos client can now run custom scripts to take
352
 
   up a network interface before the client is run.  Three example
353
 
   scripts are provided: "wireless", "openvpn", and "bridge".
354
 
   To facilitate this, the client now prefers network interfaces which
355
 
   are up (if any) over all other interfaces.
356
 
* Server
357
 
** Persistent state.  Client state is now saved between server
358
 
   restarts.
359
 
** clients.conf file can now contain "enabled" setting for clients.
360
 
** Bug fix: Fix rare crash bug.
361
 
** Bug fix: Send corrent D-Bus type in PropertyChanged for
362
 
   "ApprovalDelay", "ApprovalDuration", "Timeout", and
363
 
   "ExtendedTimeout".
364
 
** mandos-ctl: Bare numbers as arguments are taken to be milliseconds.
365
 
** Bug fix: mandos-ctl --secret option now works.
366
 
** New D-Bus signal: se.recompile.Mandos.NewRequest(s).
367
 
 
368
 
Version 1.4.1 (2011-10-15)
369
 
* Server
370
 
** Make D-Bus properties settable again, and handle checkers
371
 
   for disabled clients correctly.
372
 
* Miscellaneous fixes to "pedantic" Lintian warnings
373
 
 
374
 
Version 1.4.0 (2011-10-09)
375
 
* README file migrated to manual page intro(8mandos).
376
 
* Client:
377
 
** Fixed warning about "rmdir: Directory not empty".
378
 
* Server:
379
 
** Default values changed: timeout 5 minutes, interval 2 minutes.
380
 
** Clients gets an expiration extension when receiving a password,
381
 
   controlled by new "extended_timeout" setting.
382
 
** New domain name: "fukt.bsnet.se" changes to "recompile.se".  This
383
 
   also affects the D-Bus bus and interface names (old names still
384
 
   work).  Users should start using the new names immediately.
385
 
** New D-Bus Client object properties "Expires" and "ExtendedTimeout";
386
 
   see DBUS-API for details.
387
 
 
388
 
Version 1.3.1 (2011-07-27)
389
 
* Client:
390
 
** Client now retries all Mandos servers periodically.
391
 
** Work around Debian bug #633582 - fixes "Permission denied" problem.
392
 
 
393
 
Version 1.3.0 (2011-03-08)
394
 
* Server:
395
 
** Updated for Python 2.6.
396
 
* Client:
397
 
** Bug fix: Make the password-prompt plugin not conflict with
398
 
   Plymouth.
399
 
** Bug fix: Bug fix: update initramfs also when purging package.
400
 
 
401
 
Version 1.2.3 (2010-10-11)
402
 
* Server:
403
 
** Bug fix: Expose D-Bus API also in non-debug mode.
404
 
 
405
 
Version 1.2.2 (2010-10-07)
406
 
* Client:
407
 
** splashy: Minor fix to compile with non-Linux kernels.
408
 
 
409
 
Version 1.2.1 (2010-10-02)
410
 
* Server:
411
 
** mandos-monitor(8): Documentation bug fix: Key for removing client
412
 
   is "R", not "r".
413
 
 
414
 
Version 1.2 (2010-09-28)
415
 
* Client:
416
 
** New "plymouth" plugin to ask for a password using the Plymouth
417
 
   graphical boot system.
418
 
** The Mandos client now automatically chooses a network interface if
419
 
   the DEVICE setting in /etc/initramfs-tools/initramfs.conf is set to
420
 
   the empty string.  This is also the new default instead of "eth0".
421
 
** The Mandos client --connect option now loops indefinitely until a
422
 
   password is received from the specified server.
423
 
** Bug fix: Quote directory correctly in mandos-keygen with --password
424
 
** Bug fix: don't use "echo -e" in mandos-keygen; unsupported by dash.
425
 
* Server:
426
 
** Terminology change: clients are now "ENABLED" or "DISABLED", not
427
 
   "valid" or "invalid".
428
 
** New D-Bus API; see the file "DBUS-API".
429
 
** New control utilities using the new D-Bus API:
430
 
   + mandos-ctl                A command-line based utility
431
 
   + mandos-monitor            A text-based GUI interface
432
 
** New feature: manual interactive approval or denying of clients on a
433
 
   case-by-case basis.
434
 
** New --debuglevel option to control logging
435
 
** Will not write PID file if --debug is passed
436
 
** Bug fix: Avoid race conditions with short "interval" values or
437
 
   fast checkers.
438
 
** Bug fix: Don't try to bind to a network interface when none is
439
 
   specified
440
 
 
441
 
Version 1.0.14 (2009-10-25)
442
 
Enable building without -pie and -fPIE if BROKEN_PIE is set.
443
 
 
444
 
Version 1.0.13 (2009-10-22)
445
 
* Client
446
 
** Security bug fix: If Mandos server is also installed, do not copy
447
 
   its config files (with encrypted passwords) into the initrd.img-*
448
 
   files.
449
 
 
450
 
Version 1.0.12 (2009-09-17)
451
 
* Client
452
 
** Bug fix: Allow network interface renaming by "udev" by taking down
453
 
   the network interface after using it.
454
 
** Bug fix: User-supplied plugins are now installed correctly.
455
 
** Bug fix: If usplash was used but the password was instead provided
456
 
   by the Mandos server, the usplash daemon used to ignore the first
457
 
   command passed to it.  This has been fixed.
458
 
** Bug fix: Make the "--userid" and "--groupid" options in
459
 
   "plugin-runner.conf" work.
460
 
* Server
461
 
** Bug fix: Fix the LSB header in the init.d script to make dependency
462
 
   based booting work.
463
 
** A client receiving its password now also counts as if a checker was
464
 
   run successfully (i.e. the timeout timer is reset).
465
 
 
466
 
Version 1.0.11 (2009-05-23)
467
 
* Client
468
 
** Bug fix: Use "pkg-config" instead of old "libgnutls-config".
469
 
 
470
 
Version 1.0.10 (2009-05-17)
471
 
* Client
472
 
** Security bug fix: Fix permissions on initrd.img-*.bak files when
473
 
   upgrading from older versions.
474
 
 
475
 
Version 1.0.9 (2009-05-17)
476
 
* Client
477
 
** Security bug fix: Fix permissions on initrd.img file when
478
 
   installing new linux-image-* packages calling mkinitramfs-kpkg (all
479
 
   version lower than 2.6.28-1-* does this).
480
 
 
481
4
Version 1.0.8 (2009-02-25)
482
5
* Client
483
6
** Bug fix: Fix missing quote characters in initramfs-tools-hook.