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