1
1
This NEWS file records noteworthy changes, very tersely.
2
2
See the manual for detailed information.
4
Version 1.8.17 (2024-09-12)
5
* Improve documentation slightly, especially how to add extra options
6
to mandos-client when using dracut with systemd.
7
* Make life easier for distribution packagers by making sure that
8
"make install" creates all required directories.
10
** When seeing clients.conf entries lacking both fingerprint and
11
key_id, show a warning and ignore them instead of crashing,
13
** Suppress most spurious compiler warnings.
15
** In initramfs-tools-hook, be aware of new name of GPGME library,
17
** In password-agent(8mandos), look for a Plymouth process in
18
alphabetical order, not in reverse alphabetical order. This is
19
technically a user-visible change, but should never matter in
22
Version 1.8.16 (2023-02-08)
24
** Bug fix: Start client checkers after a random delay
26
Version 1.8.15 (2022-04-25)
28
** Bug fix: When running "mandos-keygen --password" to read a password
29
interactively (to save in a section in the clients.conf file),
30
backslashes in the password are no longer interpreted as backslash
32
** GnuTLS debug output no longer has a "b'" prefix.
34
Version 1.8.14 (2021-02-03)
36
** Create /dev/fd symlink (if necessary) in plugin-runner(8mandos) and
37
mandos-client(8mandos) (Workaround for Debian bug #981302)
39
Version 1.8.13 (2020-11-30)
41
** Fix unreliable test in password-agent(8mandos).
43
Version 1.8.12 (2020-07-04)
45
** Fix compatibility with the GNU C Library version 2.31.
46
** In initramfs-tools boots, only use setsid(1) when available.
48
Version 1.8.11 (2020-04-08)
50
** Fix file descriptor leak when adding or removing local routes to
51
unreachable hosts on the local network.
53
Version 1.8.10 (2020-03-21)
55
** Fix bug when setting a client's D-Bus "Secret" property
56
** Start client checkers after a random delay
57
** When using systemd, allow easier modification of server options
58
** Better log messages in mandos-monitor
60
** When using dracut & systemd, allow easier modification of options
62
Version 1.8.9 (2019-09-03)
63
* No user-visible changes
65
Version 1.8.8 (2019-08-18)
66
* No user-visible changes
68
Version 1.8.7 (2019-08-05)
70
** Always compile with LFS (Large File Support) enabled.
72
** Improve intro(8mandos) manual page to cover dracut(8) support.
74
Version 1.8.6 (2019-08-03)
76
** dracut support: In password-agent, properly ignore deleted and
77
renamed question files, and also fix memory alignment issue.
79
Version 1.8.5 (2019-07-30)
81
** Support dracut(8) as well as initramfs-tools(7).
82
** Minor bug fix: Allow the mandos-keygen --passfile option to use
83
passfiles with names starting with "-".
84
** Document known limitation of mandos-keygen --password; it strips
85
white space from start and end of the password.
87
** Bug fix: The server used to fail to restart if the "port" setting
88
was used. This has been fixed.
89
** Minor bug fix: Reap zombies left over from checker runs. (Debian
92
Version 1.8.4 (2019-04-09)
94
** Fix minor memory leak in plugin-runner.
96
** mandos-ctl now has a --debug option to show D-Bus calls.
98
Version 1.8.3 (2019-02-11)
99
* No user-visible changes.
101
Version 1.8.2 (2019-02-10)
103
** In mandos-keygen, ignore failures to remove files in some cases.
105
Version 1.8.1 (2019-02-10)
107
** Only generate TLS keys using GnuTLS' certtool, of sufficient
108
version. Key generation of TLS keys will not happen until a
109
version of GnuTLS is installed with support for raw public keys.
110
** Remove any bad keys created by 1.8.0 and openssl.
112
** On installation, edit clients.conf and remove the same bad key ID
113
which was erroneously reported by all 1.8.0 clients. Also do not
114
trust this key ID in the server.
116
Version 1.8.0 (2019-02-10)
118
** Use new TLS keys for server communication and identification.
119
With GnuTLS 3.6 or later, OpenPGP keys are no longer supported.
120
The client can now use the new "raw public keys" (RFC 7250) API
121
instead, using GnuTLS 3.6.6. Please note: This *requires* new key
122
IDs to be added to server's client.conf file.
123
** New --tls-privkey and --tls-pubkey options to load TLS key files.
124
If GnuTLS is too old, these options do nothing.
126
** Supports either old or new GnuTLS.
127
The server now supports using GnuTLS 3.6.6 and clients connecting
128
with "raw public keys" as identification. The server will read
129
both fingerprints and key IDs from clients.conf file, and will use
130
either one or the other, depending on what is supported by GnuTLS
131
on the system. Please note: both are *not* supported at once; if
132
one type is supported by GnuTLS, all values of the other type from
133
clients.conf are ignored.
135
Version 1.7.20 (2018-08-19)
137
** Fix: Adapt to the Debian cryptsetup package 2.0.3 or later.
138
Important: in that version or later, the plugins "askpass-fifo",
139
"password-prompt", and "plymouth" will no longer be run, since they
140
would conflict with what cryptsetup is doing. Other plugins, such
141
as mandos-client and any user-supplied plugins, will still run.
142
** Better error message if failing to decrypt secret data
143
** Check for (and report) any key import failure from GPGME
144
** Better error message if self-signature verification fails
145
** Set system clock if not set; required by GnuPG for key import
146
** When debugging plugin-runner, it will now show starting plugins
148
Version 1.7.19 (2018-02-22)
150
** Do not print "unlink(...): No such file or directory".
151
** Bug fixes: Fix file descriptor leaks.
152
** Bug fix: Don't use leak sanitizer with leaking libraries.
154
Version 1.7.18 (2018-02-12)
156
** Bug fix: Revert faulty fix for a nonexistent bug in the
159
Version 1.7.17 (2018-02-10)
161
** Bug fix: Fix a memory leak in the plugin-runner
162
** Bug fix: Fix memory leaks in the plymouth plugin
164
Version 1.7.16 (2017-08-20)
166
** Bug fix: ignore "resumedev" entries in initramfs' cryptroot file
167
** Bug fix in plymouth plugin: fix memory leak, avoid warning output
169
Version 1.7.15 (2017-02-23)
171
** Bug fix: Respect the mandos.conf "zeroconf" and "restore" options
173
** Bug fix in mandos-keygen: Handle backslashes in passphrases
175
Version 1.7.14 (2017-01-25)
177
** Use "Requisite" instead of "RequisiteOverridable" in systemd
180
Version 1.7.13 (2016-10-08)
182
** Minor bug fix: Don't ask for passphrase or fail when generating
183
keys using GnuPG 2.1 in a chrooted environment.
185
Version 1.7.12 (2016-10-05)
187
** Bug fix: Don't crash after exit() when using DH parameters file
189
Version 1.7.11 (2016-10-01)
191
** Security fix: Don't compile with AddressSanitizer
193
** Bug fix: Find GnuTLS library when gnutls28-dev is not installed
194
** Bug fix: Include "Expires" and "Last Checker Status" in mandos-ctl
196
** New option for mandos-ctl: --dump-json
198
Version 1.7.10 (2016-06-23)
200
** Security fix: restrict permissions of /etc/mandos/plugin-helpers
202
** Bug fix: Make the --interface flag work with Python 2.7 when "cc"
205
Version 1.7.9 (2016-06-22)
207
** Do not include intro(8mandos) man page
209
Version 1.7.8 (2016-06-21)
211
** Include intro(8mandos) man page
212
** mandos-keygen: Use ECDSA SSH keys by default
213
** Bug fix: Work with GnuPG 2 when booting (Debian bug #819982)
214
by copying /usr/bin/gpg-agent into initramfs
216
** Bug fix: Work with GnuPG 2 (don't use --no-use-agent option)
217
** Bug fix: Make the --interface option work when using Python 2.7
218
by trying harder to find SO_BINDTODEVICE
220
Version 1.7.7 (2016-03-19)
222
** Fix bug in Plymouth client, broken since 1.7.2
224
Version 1.7.6 (2016-03-13)
226
** Fix bug where stopping server would time out
227
** Make server runnable with Python 3
229
Version 1.7.5 (2016-03-08)
231
** Fix security restrictions in systemd service file.
232
** Work around bug where stopping server would time out
234
Version 1.7.4 (2016-03-05)
236
** Bug fix: Tolerate errors from configure_networking (Debian Bug
238
** Compilation: Only use sanitizing options which work with the
239
compiler used when building. This should fix compilation with GCC
240
4.9 on mips, mipsel, and s390x.
242
** Add extra security restrictions in systemd service file.
244
Version 1.7.3 (2016-02-29)
246
** Bug fix: Remove new type of keyring directory user by GnuPG 2.1.
247
** Bug fix: Remove "nonnull" attribute from a function argument, which
248
would otherwise generate a spurious runtime warning.
250
Version 1.7.2 (2016-02-28)
252
** Stop using python-gnutls library; it was not updated to GnuTLS 3.3.
253
** Bug fix: Only send D-Bus signal ClientRemoved if using D-Bus.
254
** Use GnuPG 2 if available.
256
** Compile with various sanitizing flags.
258
Version 1.7.1 (2015-10-24)
260
** Bug fix: Can now really find Mandos server even if the server has
261
an IPv6 address on a network other than the one which the Mandos
264
Version 1.7.0 (2015-08-10)
266
** Bug fix: Handle local Zeroconf service name collisions better.
267
** Bug fix: Finally fix "ERROR: Child process vanished" bug.
268
** Bug fix: Fix systemd service file to start server correctly.
269
** Bug fix: Be compatible with old 2048-bit DSA keys.
270
** The D-Bus API now provides the standard D-Bus ObjectManager
271
interface, and deprecates older functionality. See the DBUS-API
272
file for the currently recommended API. Note: the original API
273
still works, but is deprecated.
275
** Can now find Mandos server even if the server has an IPv6 address
276
on a network without IPv6 Router Advertisment (like if the Mandos
277
client itself is the router, or there is an IPv6 router advertising
278
a network other than the one which the Mandos server is on.)
279
** Use a better value than 1024 for the default number of DH bits.
280
This better value is either provided by a DH parameters file (see
281
below) or an appropriate number of DH bits is determined based on
283
** Bug fix: mandos-keygen now generates correct output for the
284
"Checker" variable even if the SSH server on the Mandos client has
285
multiple SSH key types.
286
** Can now use pre-generated Diffie-Hellman parameters from a file.
288
Version 1.6.9 (2014-10-05)
290
** Changed to emit standard D-Bus signal when D-Bus properties change.
291
(The old signal is still emitted too, but marked as deprecated.)
293
Version 1.6.8 (2014-08-06)
295
** Bug fix: mandos-keygen now generates working SSH checker commands.
297
** Bug fix: "mandos-monitor" now really redraws screen on Ctrl-L.
298
** Now requires Python 2.7.
300
Version 1.6.7 (2014-07-17)
302
** Bug fix: Now compatible with GPGME 1.5.0.
303
** Bug fix: Fixed minor memory leaks.
305
** "mandos-monitor" now has verbose logging, toggleable with "v".
307
Version 1.6.6 (2014-07-13)
309
** If client host has an SSH server, "mandos-keygen --password" now
310
outputs "checker" option which uses "ssh-keyscan"; this is more
311
secure than the default "fping" checker.
312
** Bug fix: allow "." in network hook names, to match documentation.
313
** Better error messages.
315
** New --no-zeroconf option.
316
** Bug fix: Fix --servicename option, broken since 1.6.4.
317
** Bug fix: Fix --socket option work for --socket=0.
319
Version 1.6.5 (2014-05-11)
321
** Work around bug in GnuPG <http://bugs.g10code.com/gnupg/issue1622>
322
** Give better error messages when run without sufficient privileges
323
** Only warn if workaround for Debian bug #633582 was necessary and
324
failed, not if it failed and was unnecessary.
326
Version 1.6.4 (2014-02-16)
328
** Very minor fix to self-test code.
330
Version 1.6.3 (2014-01-21)
332
** Add systemd support.
333
** For PID file, fall back to /var/run if /run does not exist.
335
** Moved files from /usr/lib/mandos to whatever the architecture
336
specifies, like /usr/lib/x86_64-linux-gnu/mandos or
339
Version 1.6.2 (2013-10-24)
341
** PID file moved from /var/run to /run.
342
** Bug fix: Handle long secrets when saving client state.
343
** Bug fix: Use more magic in the GnuTLS priority string to handle
344
both old DSA/ELG 2048-bit keys and new RSA/RSA 4096-bit keys.
346
** mandos-keygen: Bug fix: now generate RSA keys which GnuTLS can use.
347
Bug fix: Output passphrase prompts even when
348
redirecting standard output.
350
Version 1.6.1 (2013-10-13)
352
** All client options for time intervals now also take an RFC 3339
353
duration. The same for all options to mandos-ctl.
354
** Bug fix: Handle fast checkers (like ":") correctly.
355
** Bug fix: Don't print output from checkers when running in
357
** Bug fix: Do not fail when client is removed from clients.conf but
358
saved settings remain.
359
** Bug fix: mandos-monitor now displays standout (reverse video) again
360
using new version of Urwid.
361
** Bug fix: Make boolean options work from the config file again.
362
** Bug fix: Make --no-ipv6 work again.
363
** New default priority string to be slightly more compatible with
364
older versions of GnuTLS.
366
** Bug fix: Fix bashism in mandos-keygen.
367
** Default key and subkey types are now RSA and RSA, respectively.
368
Also, new default key size is 4096 bits.
370
Version 1.6.0 (2012-06-18)
372
** Takes new --foreground option
373
** Init script supports new "status" action.
375
** Now uses all interfaces by default; the --interface option can
376
still be used to restrict it, and the argument to --interface (as
377
well as the $DEVICE environment variable for the network hooks) is
378
now a comma-separated list of interfaces to use.
380
Version 1.5.5 (2012-06-01)
382
** Server takes new --socket option
384
Version 1.5.4 (2012-05-20)
386
** Bug fix: Regression fix: Make non-zero approval timeout values work.
387
** Bug fix: Regression fix: Allow changing the Timeout D-Bus property.
388
** Fall back to not bind to an interface if an invalid interface name
390
** Removed support for undocumented feature of using plain "%%s" in
391
"checker" client option.
392
** Old D-Bus interface are now marked as deprecated.
393
** mandos-monitor: Bug fix: show approval timers correctly.
394
** mandos-ctl: Show "Extended Timeout" correctly, not as milliseconds.
396
Version 1.5.3 (2012-01-15)
398
** Add D-Bus property se.recompile.Client.LastCheckerStatus and use it
401
** Fix bugs in the example "bridge" network hook.
403
Version 1.5.2 (2012-01-08)
405
** Removed D-Bus signal se.recompile.Mandos.NewRequest() added in
406
1.5.0. It was buggy and was of questionable utility.
408
Version 1.5.1 (2012-01-01)
410
** Include intro(8mandos) manual page, missing since migration from
411
README file in version 1.4.0.
413
Version 1.5.0 (2012-01-01)
415
** Network hooks. The Mandos client can now run custom scripts to take
416
up a network interface before the client is run. Three example
417
scripts are provided: "wireless", "openvpn", and "bridge".
418
To facilitate this, the client now prefers network interfaces which
419
are up (if any) over all other interfaces.
421
** Persistent state. Client state is now saved between server
423
** clients.conf file can now contain "enabled" setting for clients.
424
** Bug fix: Fix rare crash bug.
425
** Bug fix: Send corrent D-Bus type in PropertyChanged for
426
"ApprovalDelay", "ApprovalDuration", "Timeout", and
428
** mandos-ctl: Bare numbers as arguments are taken to be milliseconds.
429
** Bug fix: mandos-ctl --secret option now works.
430
** New D-Bus signal: se.recompile.Mandos.NewRequest(s).
432
Version 1.4.1 (2011-10-15)
434
** Make D-Bus properties settable again, and handle checkers
435
for disabled clients correctly.
436
* Miscellaneous fixes to "pedantic" Lintian warnings
438
Version 1.4.0 (2011-10-09)
439
* README file migrated to manual page intro(8mandos).
441
** Fixed warning about "rmdir: Directory not empty".
443
** Default values changed: timeout 5 minutes, interval 2 minutes.
444
** Clients gets an expiration extension when receiving a password,
445
controlled by new "extended_timeout" setting.
446
** New domain name: "fukt.bsnet.se" changes to "recompile.se". This
447
also affects the D-Bus bus and interface names (old names still
448
work). Users should start using the new names immediately.
449
** New D-Bus Client object properties "Expires" and "ExtendedTimeout";
450
see DBUS-API for details.
452
Version 1.3.1 (2011-07-27)
454
** Client now retries all Mandos servers periodically.
455
** Work around Debian bug #633582 - fixes "Permission denied" problem.
457
Version 1.3.0 (2011-03-08)
459
** Updated for Python 2.6.
461
** Bug fix: Make the password-prompt plugin not conflict with
463
** Bug fix: Bug fix: update initramfs also when purging package.
465
Version 1.2.3 (2010-10-11)
467
** Bug fix: Expose D-Bus API also in non-debug mode.
469
Version 1.2.2 (2010-10-07)
471
** splashy: Minor fix to compile with non-Linux kernels.
473
Version 1.2.1 (2010-10-02)
475
** mandos-monitor(8): Documentation bug fix: Key for removing client
478
Version 1.2 (2010-09-28)
480
** New "plymouth" plugin to ask for a password using the Plymouth
481
graphical boot system.
482
** The Mandos client now automatically chooses a network interface if
483
the DEVICE setting in /etc/initramfs-tools/initramfs.conf is set to
484
the empty string. This is also the new default instead of "eth0".
485
** The Mandos client --connect option now loops indefinitely until a
486
password is received from the specified server.
487
** Bug fix: Quote directory correctly in mandos-keygen with --password
488
** Bug fix: don't use "echo -e" in mandos-keygen; unsupported by dash.
490
** Terminology change: clients are now "ENABLED" or "DISABLED", not
491
"valid" or "invalid".
492
** New D-Bus API; see the file "DBUS-API".
493
** New control utilities using the new D-Bus API:
494
+ mandos-ctl A command-line based utility
495
+ mandos-monitor A text-based GUI interface
496
** New feature: manual interactive approval or denying of clients on a
498
** New --debuglevel option to control logging
499
** Will not write PID file if --debug is passed
500
** Bug fix: Avoid race conditions with short "interval" values or
502
** Bug fix: Don't try to bind to a network interface when none is
505
Version 1.0.14 (2009-10-25)
506
Enable building without -pie and -fPIE if BROKEN_PIE is set.
508
Version 1.0.13 (2009-10-22)
510
** Security bug fix: If Mandos server is also installed, do not copy
511
its config files (with encrypted passwords) into the initrd.img-*
514
Version 1.0.12 (2009-09-17)
516
** Bug fix: Allow network interface renaming by "udev" by taking down
517
the network interface after using it.
518
** Bug fix: User-supplied plugins are now installed correctly.
519
** Bug fix: If usplash was used but the password was instead provided
520
by the Mandos server, the usplash daemon used to ignore the first
521
command passed to it. This has been fixed.
522
** Bug fix: Make the "--userid" and "--groupid" options in
523
"plugin-runner.conf" work.
525
** Bug fix: Fix the LSB header in the init.d script to make dependency
527
** A client receiving its password now also counts as if a checker was
528
run successfully (i.e. the timeout timer is reset).
530
Version 1.0.11 (2009-05-23)
532
** Bug fix: Use "pkg-config" instead of old "libgnutls-config".
534
4
Version 1.0.10 (2009-05-17)
536
6
** Security bug fix: Fix permissions on initrd.img-*.bak files when