1
 
This NEWS file records noteworthy changes, very tersely.
 
2
 
See the manual for detailed information.
 
4
 
Version 1.8.3 (2019-02-11)
 
5
 
* No user-visible changes.
 
7
 
Version 1.8.2 (2019-02-10)
 
9
 
** In mandos-keygen, ignore failures to remove files in some cases.
 
11
 
Version 1.8.1 (2019-02-10)
 
13
 
** Only generate TLS keys using GnuTLS' certtool, of sufficient
 
14
 
   version.  Key generation of TLS keys will not happen until a
 
15
 
   version of GnuTLS is installed with support for raw public keys.
 
16
 
** Remove any bad keys created by 1.8.0 and openssl.
 
18
 
** On installation, edit clients.conf and remove the same bad key ID
 
19
 
   which was erroneously reported by all 1.8.0 clients.  Also do not
 
20
 
   trust this key ID in the server.
 
22
 
Version 1.8.0 (2019-02-10)
 
24
 
** Use new TLS keys for server communication and identification.
 
25
 
   With GnuTLS 3.6 or later, OpenPGP keys are no longer supported.
 
26
 
   The client can now use the new "raw public keys" (RFC 7250) API
 
27
 
   instead, using GnuTLS 3.6.6.  Please note: This *requires* new key
 
28
 
   IDs to be added to server's client.conf file.
 
29
 
** New --tls-privkey and --tls-pubkey options to load TLS key files.
 
30
 
   If GnuTLS is too old, these options do nothing.
 
32
 
** Supports either old or new GnuTLS.
 
33
 
   The server now supports using GnuTLS 3.6.6 and clients connecting
 
34
 
   with "raw public keys" as identification.  The server will read
 
35
 
   both fingerprints and key IDs from clients.conf file, and will use
 
36
 
   either one or the other, depending on what is supported by GnuTLS
 
37
 
   on the system.  Please note: both are *not* supported at once; if
 
38
 
   one type is supported by GnuTLS, all values of the other type from
 
39
 
   clients.conf are ignored.
 
41
 
Version 1.7.20 (2018-08-19)
 
43
 
** Fix: Adapt to the Debian cryptsetup package 2.0.3 or later.
 
44
 
   Important: in that version or later, the plugins "askpass-fifo",
 
45
 
   "password-prompt", and "plymouth" will no longer be run, since they
 
46
 
   would conflict with what cryptsetup is doing.  Other plugins, such
 
47
 
   as mandos-client and any user-supplied plugins, will still run.
 
48
 
** Better error message if failing to decrypt secret data
 
49
 
** Check for (and report) any key import failure from GPGME
 
50
 
** Better error message if self-signature verification fails
 
51
 
** Set system clock if not set; required by GnuPG for key import
 
52
 
** When debugging plugin-runner, it will now show starting plugins
 
54
 
Version 1.7.19 (2018-02-22)
 
56
 
** Do not print "unlink(...): No such file or directory".
 
57
 
** Bug fixes: Fix file descriptor leaks.
 
58
 
** Bug fix: Don't use leak sanitizer with leaking libraries.
 
60
 
Version 1.7.18 (2018-02-12)
 
62
 
** Bug fix: Revert faulty fix for a nonexistent bug in the
 
65
 
Version 1.7.17 (2018-02-10)
 
67
 
** Bug fix: Fix a memory leak in the plugin-runner
 
68
 
** Bug fix: Fix memory leaks in the plymouth plugin
 
70
 
Version 1.7.16 (2017-08-20)
 
72
 
** Bug fix: ignore "resumedev" entries in initramfs' cryptroot file
 
73
 
** Bug fix in plymouth plugin: fix memory leak, avoid warning output
 
75
 
Version 1.7.15 (2017-02-23)
 
77
 
** Bug fix: Respect the mandos.conf "zeroconf" and "restore" options
 
79
 
** Bug fix in mandos-keygen: Handle backslashes in passphrases
 
81
 
Version 1.7.14 (2017-01-25)
 
83
 
** Use "Requisite" instead of "RequisiteOverridable" in systemd
 
86
 
Version 1.7.13 (2016-10-08)
 
88
 
** Minor bug fix: Don't ask for passphrase or fail when generating
 
89
 
   keys using GnuPG 2.1 in a chrooted environment.
 
91
 
Version 1.7.12 (2016-10-05)
 
93
 
** Bug fix: Don't crash after exit() when using DH parameters file
 
95
 
Version 1.7.11 (2016-10-01)
 
97
 
** Security fix: Don't compile with AddressSanitizer
 
99
 
** Bug fix: Find GnuTLS library when gnutls28-dev is not installed
 
100
 
** Bug fix: Include "Expires" and "Last Checker Status" in mandos-ctl
 
102
 
** New option for mandos-ctl: --dump-json
 
104
 
Version 1.7.10 (2016-06-23)
 
106
 
** Security fix: restrict permissions of /etc/mandos/plugin-helpers
 
108
 
** Bug fix: Make the --interface flag work with Python 2.7 when "cc"
 
111
 
Version 1.7.9 (2016-06-22)
 
113
 
** Do not include intro(8mandos) man page
 
115
 
Version 1.7.8 (2016-06-21)
 
117
 
** Include intro(8mandos) man page
 
118
 
** mandos-keygen: Use ECDSA SSH keys by default
 
119
 
** Bug fix: Work with GnuPG 2 when booting (Debian bug #819982)
 
120
 
   by copying /usr/bin/gpg-agent into initramfs
 
122
 
** Bug fix: Work with GnuPG 2 (don't use --no-use-agent option)
 
123
 
** Bug fix: Make the --interface option work when using Python 2.7
 
124
 
   by trying harder to find SO_BINDTODEVICE
 
126
 
Version 1.7.7 (2016-03-19)
 
128
 
** Fix bug in Plymouth client, broken since 1.7.2
 
130
 
Version 1.7.6 (2016-03-13)
 
132
 
** Fix bug where stopping server would time out
 
133
 
** Make server runnable with Python 3
 
135
 
Version 1.7.5 (2016-03-08)
 
137
 
** Fix security restrictions in systemd service file.
 
138
 
** Work around bug where stopping server would time out
 
140
 
Version 1.7.4 (2016-03-05)
 
142
 
** Bug fix: Tolerate errors from configure_networking (Debian Bug
 
144
 
** Compilation: Only use sanitizing options which work with the
 
145
 
   compiler used when building.  This should fix compilation with GCC
 
146
 
   4.9 on mips, mipsel, and s390x.
 
148
 
** Add extra security restrictions in systemd service file.
 
150
 
Version 1.7.3 (2016-02-29)
 
152
 
** Bug fix: Remove new type of keyring directory user by GnuPG 2.1.
 
153
 
** Bug fix: Remove "nonnull" attribute from a function argument, which
 
154
 
   would otherwise generate a spurious runtime warning.
 
156
 
Version 1.7.2 (2016-02-28)
 
158
 
** Stop using python-gnutls library; it was not updated to GnuTLS 3.3.
 
159
 
** Bug fix: Only send D-Bus signal ClientRemoved if using D-Bus.
 
160
 
** Use GnuPG 2 if available.
 
162
 
** Compile with various sanitizing flags.
 
164
 
Version 1.7.1 (2015-10-24)
 
166
 
** Bug fix: Can now really find Mandos server even if the server has
 
167
 
   an IPv6 address on a network other than the one which the Mandos
 
170
 
Version 1.7.0 (2015-08-10)
 
172
 
** Bug fix: Handle local Zeroconf service name collisions better.
 
173
 
** Bug fix: Finally fix "ERROR: Child process vanished" bug.
 
174
 
** Bug fix: Fix systemd service file to start server correctly.
 
175
 
** Bug fix: Be compatible with old 2048-bit DSA keys.
 
176
 
** The D-Bus API now provides the standard D-Bus ObjectManager
 
177
 
   interface, and deprecates older functionality.  See the DBUS-API
 
178
 
   file for the currently recommended API.  Note: the original API
 
179
 
   still works, but is deprecated.
 
181
 
** Can now find Mandos server even if the server has an IPv6 address
 
182
 
   on a network without IPv6 Router Advertisment (like if the Mandos
 
183
 
   client itself is the router, or there is an IPv6 router advertising
 
184
 
   a network other than the one which the Mandos server is on.)
 
185
 
** Use a better value than 1024 for the default number of DH bits.
 
186
 
   This better value is either provided by a DH parameters file (see
 
187
 
   below) or an appropriate number of DH bits is determined based on
 
189
 
** Bug fix: mandos-keygen now generates correct output for the
 
190
 
   "Checker" variable even if the SSH server on the Mandos client has
 
191
 
   multiple SSH key types.
 
192
 
** Can now use pre-generated Diffie-Hellman parameters from a file.
 
194
 
Version 1.6.9 (2014-10-05)
 
196
 
** Changed to emit standard D-Bus signal when D-Bus properties change.
 
197
 
   (The old signal is still emitted too, but marked as deprecated.)
 
199
 
Version 1.6.8 (2014-08-06)
 
201
 
** Bug fix: mandos-keygen now generates working SSH checker commands.
 
203
 
** Bug fix: "mandos-monitor" now really redraws screen on Ctrl-L.
 
204
 
** Now requires Python 2.7.
 
206
 
Version 1.6.7 (2014-07-17)
 
208
 
** Bug fix: Now compatible with GPGME 1.5.0.
 
209
 
** Bug fix: Fixed minor memory leaks.
 
211
 
** "mandos-monitor" now has verbose logging, toggleable with "v".
 
213
 
Version 1.6.6 (2014-07-13)
 
215
 
** If client host has an SSH server, "mandos-keygen --password" now
 
216
 
   outputs "checker" option which uses "ssh-keyscan"; this is more
 
217
 
   secure than the default "fping" checker.
 
218
 
** Bug fix: allow "." in network hook names, to match documentation.
 
219
 
** Better error messages.
 
221
 
** New --no-zeroconf option.
 
222
 
** Bug fix: Fix --servicename option, broken since 1.6.4.
 
223
 
** Bug fix: Fix --socket option work for --socket=0.
 
225
 
Version 1.6.5 (2014-05-11)
 
227
 
** Work around bug in GnuPG <http://bugs.g10code.com/gnupg/issue1622>
 
228
 
** Give better error messages when run without sufficient privileges
 
229
 
** Only warn if workaround for Debian bug #633582 was necessary and
 
230
 
   failed, not if it failed and was unnecessary.
 
232
 
Version 1.6.4 (2014-02-16)
 
234
 
** Very minor fix to self-test code.
 
236
 
Version 1.6.3 (2014-01-21)
 
238
 
** Add systemd support.
 
239
 
** For PID file, fall back to /var/run if /run does not exist.
 
241
 
** Moved files from /usr/lib/mandos to whatever the architecture
 
242
 
   specifies, like /usr/lib/x86_64-linux-gnu/mandos or
 
245
 
Version 1.6.2 (2013-10-24)
 
247
 
** PID file moved from /var/run to /run.
 
248
 
** Bug fix: Handle long secrets when saving client state.
 
249
 
** Bug fix: Use more magic in the GnuTLS priority string to handle
 
250
 
   both old DSA/ELG 2048-bit keys and new RSA/RSA 4096-bit keys.
 
252
 
** mandos-keygen: Bug fix: now generate RSA keys which GnuTLS can use.
 
253
 
                  Bug fix: Output passphrase prompts even when
 
254
 
                  redirecting standard output.
 
256
 
Version 1.6.1 (2013-10-13)
 
258
 
** All client options for time intervals now also take an RFC 3339
 
259
 
   duration.  The same for all options to mandos-ctl.
 
260
 
** Bug fix: Handle fast checkers (like ":") correctly.
 
261
 
** Bug fix: Don't print output from checkers when running in
 
263
 
** Bug fix: Do not fail when client is removed from clients.conf but
 
264
 
   saved settings remain.
 
265
 
** Bug fix: mandos-monitor now displays standout (reverse video) again
 
266
 
   using new version of Urwid.
 
267
 
** Bug fix: Make boolean options work from the config file again.
 
268
 
** Bug fix: Make --no-ipv6 work again.
 
269
 
** New default priority string to be slightly more compatible with
 
270
 
   older versions of GnuTLS.
 
272
 
** Bug fix: Fix bashism in mandos-keygen.
 
273
 
** Default key and subkey types are now RSA and RSA, respectively.
 
274
 
   Also, new default key size is 4096 bits.
 
276
 
Version 1.6.0 (2012-06-18)
 
278
 
** Takes new --foreground option
 
279
 
** Init script supports new "status" action.
 
281
 
** Now uses all interfaces by default; the --interface option can
 
282
 
   still be used to restrict it, and the argument to --interface (as
 
283
 
   well as the $DEVICE environment variable for the network hooks) is
 
284
 
   now a comma-separated list of interfaces to use.
 
286
 
Version 1.5.5 (2012-06-01)
 
288
 
** Server takes new --socket option
 
290
 
Version 1.5.4 (2012-05-20)
 
292
 
** Bug fix: Regression fix: Make non-zero approval timeout values work.
 
293
 
** Bug fix: Regression fix: Allow changing the Timeout D-Bus property.
 
294
 
** Fall back to not bind to an interface if an invalid interface name
 
296
 
** Removed support for undocumented feature of using plain "%%s" in
 
297
 
   "checker" client option.
 
298
 
** Old D-Bus interface are now marked as deprecated.
 
299
 
** mandos-monitor: Bug fix: show approval timers correctly.
 
300
 
** mandos-ctl: Show "Extended Timeout" correctly, not as milliseconds.
 
302
 
Version 1.5.3 (2012-01-15)
 
304
 
** Add D-Bus property se.recompile.Client.LastCheckerStatus and use it
 
307
 
** Fix bugs in the example "bridge" network hook.
 
309
 
Version 1.5.2 (2012-01-08)
 
311
 
** Removed D-Bus signal se.recompile.Mandos.NewRequest() added in
 
312
 
   1.5.0.  It was buggy and was of questionable utility.
 
314
 
Version 1.5.1 (2012-01-01)
 
316
 
** Include intro(8mandos) manual page, missing since migration from
 
317
 
   README file in version 1.4.0.
 
319
 
Version 1.5.0 (2012-01-01)
 
321
 
** Network hooks.  The Mandos client can now run custom scripts to take
 
322
 
   up a network interface before the client is run.  Three example
 
323
 
   scripts are provided: "wireless", "openvpn", and "bridge".
 
324
 
   To facilitate this, the client now prefers network interfaces which
 
325
 
   are up (if any) over all other interfaces.
 
327
 
** Persistent state.  Client state is now saved between server
 
329
 
** clients.conf file can now contain "enabled" setting for clients.
 
330
 
** Bug fix: Fix rare crash bug.
 
331
 
** Bug fix: Send corrent D-Bus type in PropertyChanged for
 
332
 
   "ApprovalDelay", "ApprovalDuration", "Timeout", and
 
334
 
** mandos-ctl: Bare numbers as arguments are taken to be milliseconds.
 
335
 
** Bug fix: mandos-ctl --secret option now works.
 
336
 
** New D-Bus signal: se.recompile.Mandos.NewRequest(s).
 
338
 
Version 1.4.1 (2011-10-15)
 
340
 
** Make D-Bus properties settable again, and handle checkers
 
341
 
   for disabled clients correctly.
 
342
 
* Miscellaneous fixes to "pedantic" Lintian warnings
 
344
 
Version 1.4.0 (2011-10-09)
 
345
 
* README file migrated to manual page intro(8mandos).
 
347
 
** Fixed warning about "rmdir: Directory not empty".
 
349
 
** Default values changed: timeout 5 minutes, interval 2 minutes.
 
350
 
** Clients gets an expiration extension when receiving a password,
 
351
 
   controlled by new "extended_timeout" setting.
 
352
 
** New domain name: "fukt.bsnet.se" changes to "recompile.se".  This
 
353
 
   also affects the D-Bus bus and interface names (old names still
 
354
 
   work).  Users should start using the new names immediately.
 
355
 
** New D-Bus Client object properties "Expires" and "ExtendedTimeout";
 
356
 
   see DBUS-API for details.
 
358
 
Version 1.3.1 (2011-07-27)
 
360
 
** Client now retries all Mandos servers periodically.
 
361
 
** Work around Debian bug #633582 - fixes "Permission denied" problem.
 
363
 
Version 1.3.0 (2011-03-08)
 
365
 
** Updated for Python 2.6.
 
367
 
** Bug fix: Make the password-prompt plugin not conflict with
 
369
 
** Bug fix: Bug fix: update initramfs also when purging package.
 
371
 
Version 1.2.3 (2010-10-11)
 
373
 
** Bug fix: Expose D-Bus API also in non-debug mode.
 
375
 
Version 1.2.2 (2010-10-07)
 
377
 
** splashy: Minor fix to compile with non-Linux kernels.
 
379
 
Version 1.2.1 (2010-10-02)
 
381
 
** mandos-monitor(8): Documentation bug fix: Key for removing client
 
384
 
Version 1.2 (2010-09-28)
 
386
 
** New "plymouth" plugin to ask for a password using the Plymouth
 
387
 
   graphical boot system.
 
388
 
** The Mandos client now automatically chooses a network interface if
 
389
 
   the DEVICE setting in /etc/initramfs-tools/initramfs.conf is set to
 
390
 
   the empty string.  This is also the new default instead of "eth0".
 
391
 
** The Mandos client --connect option now loops indefinitely until a
 
392
 
   password is received from the specified server.
 
393
 
** Bug fix: Quote directory correctly in mandos-keygen with --password
 
394
 
** Bug fix: don't use "echo -e" in mandos-keygen; unsupported by dash.
 
396
 
** Terminology change: clients are now "ENABLED" or "DISABLED", not
 
397
 
   "valid" or "invalid".
 
398
 
** New D-Bus API; see the file "DBUS-API".
 
399
 
** New control utilities using the new D-Bus API:
 
400
 
   + mandos-ctl                A command-line based utility
 
401
 
   + mandos-monitor            A text-based GUI interface
 
402
 
** New feature: manual interactive approval or denying of clients on a
 
404
 
** New --debuglevel option to control logging
 
405
 
** Will not write PID file if --debug is passed
 
406
 
** Bug fix: Avoid race conditions with short "interval" values or
 
408
 
** Bug fix: Don't try to bind to a network interface when none is
 
411
 
Version 1.0.14 (2009-10-25)
 
412
 
Enable building without -pie and -fPIE if BROKEN_PIE is set.
 
414
 
Version 1.0.13 (2009-10-22)
 
416
 
** Security bug fix: If Mandos server is also installed, do not copy
 
417
 
   its config files (with encrypted passwords) into the initrd.img-*
 
420
 
Version 1.0.12 (2009-09-17)
 
422
 
** Bug fix: Allow network interface renaming by "udev" by taking down
 
423
 
   the network interface after using it.
 
424
 
** Bug fix: User-supplied plugins are now installed correctly.
 
425
 
** Bug fix: If usplash was used but the password was instead provided
 
426
 
   by the Mandos server, the usplash daemon used to ignore the first
 
427
 
   command passed to it.  This has been fixed.
 
428
 
** Bug fix: Make the "--userid" and "--groupid" options in
 
429
 
   "plugin-runner.conf" work.
 
431
 
** Bug fix: Fix the LSB header in the init.d script to make dependency
 
433
 
** A client receiving its password now also counts as if a checker was
 
434
 
   run successfully (i.e. the timeout timer is reset).
 
436
 
Version 1.0.11 (2009-05-23)
 
438
 
** Bug fix: Use "pkg-config" instead of old "libgnutls-config".
 
440
 
Version 1.0.10 (2009-05-17)
 
442
 
** Security bug fix: Fix permissions on initrd.img-*.bak files when
 
443
 
   upgrading from older versions.
 
445
 
Version 1.0.9 (2009-05-17)
 
447
 
** Security bug fix: Fix permissions on initrd.img file when
 
448
 
   installing new linux-image-* packages calling mkinitramfs-kpkg (all
 
449
 
   version lower than 2.6.28-1-* does this).
 
451
 
Version 1.0.8 (2009-02-25)
 
453
 
** Bug fix: Fix missing quote characters in initramfs-tools-hook.
 
455
 
Version 1.0.7 (2009-02-24)
 
457
 
** Bug fix: Do not depend on GNU awk.
 
459
 
Version 1.0.6 (2009-02-13)
 
461
 
** Fix bug where server would stop responding, with a zombie checker
 
462
 
** Support for disabling IPv6 (only for advanced users)
 
463
 
** Fix bug which made server not change group ID
 
466
 
** Bug fix: Fix permission for /lib64 (on relevant architechtures).
 
467
 
** Add support for IPv4 addresses.
 
468
 
** Add support in mandos-client for not bringing up a network
 
469
 
   interface by specifying an empty string to "--interface".
 
470
 
** Make password prompt on boot not be mangled by kernel log messages
 
471
 
   about network interface.
 
472
 
** Get network interface from initramfs.conf and/or from kernel
 
474
 
** If set by "ip=" kernel command line, configure network on boot.
 
475
 
** Support connecting directly using "mandos=connect" kernel command.
 
476
 
   line option, provided network is configured using "ip=".
 
477
 
** Fix bug which made plugin-runner and mandos-client not change group
 
479
 
** Fix bug where the "--options-for" option of plugin-runner would
 
480
 
   truncate the value at the first colon character.
 
481
 
** Fix bug where plugin-runner would not go to fallback if all plugins
 
483
 
** Fix bug where mandos-client would not clean temporary directory on
 
484
 
   a signal or on certain file systems.
 
485
 
** Bug fix: remove bashism in /bin/sh script "mandos-keygen".
 
487
 
Version 1.0.5 (2009-01-17)
 
489
 
** Fix small memory leak in plugin-runner.
 
491
 
Version 1.0.4 (2009-01-15)
 
493
 
** Only find matched user/group pairs when searching for suitable
 
494
 
   nonprivileged user/group to switch to.
 
497
 
** New kernel parameter "mandos=off" makes client not run at boot.
 
498
 
** Fix linking errors and compilation warnings on AMD64.
 
499
 
** Parse numbers in command line options better.
 
500
 
** The splashy and usplash plugins are more robust while traversing
 
501
 
   /proc, and will not abort if a process suddenly disappears.
 
503
 
Version 1.0.3 (2009-01-06)
 
505
 
** Now tries to change to user and group "_mandos" before falling back
 
506
 
   to trying the old values "mandos", "nobody:nogroup", and "65534".
 
507
 
** Now does not abort on startup even if no clients are defined in
 
511
 
** Plugins named "*.dpkg-bak" are now ignored.
 
512
 
** Hopefully fixed compilation failure on some architectures where the
 
513
 
   C compiler does not recognize the "-z" option as a linker option.
 
515
 
Version 1.0.2 (2008-10-17)
 
516
 
* mandos-keygen now signs the encrypted key blobs.  This signature is
 
517
 
  not currently verified by mandos-client, but this may change in the
 
520
 
Version 1.0.1 (2008-10-07)
 
522
 
** Expand environment variables and ~user in clients.conf's "secfile"
 
523
 
   The "secfile" option in /etc/mandos/clients.conf now expands
 
524
 
   "~user/foo" and "$ENVVAR" strings.
 
526
 
* Client (plugin-runner, plugins, etc.)
 
527
 
** Manual pages for the usplash, splashy, and askpass-fifo plugins.
 
528
 
   All plugins now have man pages.
 
529
 
** More secure compilation and linking flags.
 
530
 
   All programs are now compiled with "-fstack-protector-all -fPIE
 
531
 
   -pie", and linked using "-z relro -pie" for additional security.
 
533
 
* There is now a "NEWS" file (this one), giving a history of