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