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