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