/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: teddy at recompile
  • Date: 2020-12-03 20:30:45 UTC
  • Revision ID: teddy@recompile.se-20201203203045-iqd6nq9y5nwalh1x
Minor fix of a test function

In dracut-module/password-agent, the test function
test_send_password_to_socket_EMSGSIZE() (which tests that the
send_password_to_socket() task function aborts properly when getting
EMSGSIZE when writing to the password socket), part of the test code
is supposed to find a message size which definitely does trigger
EMSGSIZE when send()ing to a socket.  Without a "break" in the proper
place, however, the size given is always exactly 1024 bytes too large.

This is very probably not a problem, since a too large message will
still be too large if it is increased by 1024 bytes, and send(2) in
practice checks the size before reading the buffer.  The biggest issue
would be if some version of send(2) would try to look at the last 1024
bytes of the message buffer before checking the message size; this
would then lead to a buffer over-read when running this test function.
(But even then there would be no security implications since the tests
are not run in the normal operation of the program.)

* dracut-module/password-agent.c
  (test_send_password_to_socket_EMSGSIZE): Break out early when ssret
  < 0 and errno == EMSGSIZE; don't allow loop to increase message_size
  again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
This NEWS file records noteworthy changes, very tersely.
2
2
See the manual for detailed information.
3
3
 
 
4
Version 1.8.13 (2020-11-30)
 
5
* Client
 
6
** Fix unreliable test in password-agent(8mandos).
 
7
 
 
8
Version 1.8.12 (2020-07-04)
 
9
* Client
 
10
** Fix compatibility with the GNU C Library version 2.31.
 
11
** In initramfs-tools boots, only use setsid(1) when available.
 
12
 
 
13
Version 1.8.11 (2020-04-08)
 
14
* Client
 
15
** Fix file descriptor leak when adding or removing local routes to
 
16
   unreachable hosts on the local network.
 
17
 
 
18
Version 1.8.10 (2020-03-21)
 
19
* Server
 
20
** Fix bug when setting a client's D-Bus "Secret" property
 
21
** Start client checkers after a random delay
 
22
** When using systemd, allow easier modification of server options
 
23
** Better log messages in mandos-monitor
 
24
* Client
 
25
** When using dracut & systemd, allow easier modification of options
 
26
 
 
27
Version 1.8.9 (2019-09-03)
 
28
* No user-visible changes
 
29
 
 
30
Version 1.8.8 (2019-08-18)
 
31
* No user-visible changes
 
32
 
 
33
Version 1.8.7 (2019-08-05)
 
34
* Client:
 
35
** Always compile with LFS (Large File Support) enabled.
 
36
* Server
 
37
** Improve intro(8mandos) manual page to cover dracut(8) support.
 
38
 
 
39
Version 1.8.6 (2019-08-03)
 
40
* Client:
 
41
** dracut support: In password-agent, properly ignore deleted and
 
42
   renamed question files, and also fix memory alignment issue.
 
43
 
 
44
Version 1.8.5 (2019-07-30)
 
45
* Client
 
46
** Support dracut(8) as well as initramfs-tools(7).
 
47
** Minor bug fix: Allow the mandos-keygen --passfile option to use
 
48
   passfiles with names starting with "-".
 
49
** Document known limitation of mandos-keygen --password; it strips
 
50
   white space from start and end of the password.
 
51
* Server
 
52
** Bug fix: The server used to fail to restart if the "port" setting
 
53
   was used.  This has been fixed.
 
54
** Minor bug fix: Reap zombies left over from checker runs.  (Debian
 
55
   bug #933387)
 
56
 
 
57
Version 1.8.4 (2019-04-09)
 
58
* Client
 
59
** Fix minor memory leak in plugin-runner.
 
60
* Server
 
61
** mandos-ctl now has a --debug option to show D-Bus calls.
 
62
 
 
63
Version 1.8.3 (2019-02-11)
 
64
* No user-visible changes.
 
65
 
 
66
Version 1.8.2 (2019-02-10)
 
67
* Client
 
68
** In mandos-keygen, ignore failures to remove files in some cases.
 
69
 
 
70
Version 1.8.1 (2019-02-10)
 
71
* Client
 
72
** Only generate TLS keys using GnuTLS' certtool, of sufficient
 
73
   version.  Key generation of TLS keys will not happen until a
 
74
   version of GnuTLS is installed with support for raw public keys.
 
75
** Remove any bad keys created by 1.8.0 and openssl.
 
76
* Server
 
77
** On installation, edit clients.conf and remove the same bad key ID
 
78
   which was erroneously reported by all 1.8.0 clients.  Also do not
 
79
   trust this key ID in the server.
 
80
 
 
81
Version 1.8.0 (2019-02-10)
 
82
* Client
 
83
** Use new TLS keys for server communication and identification.
 
84
   With GnuTLS 3.6 or later, OpenPGP keys are no longer supported.
 
85
   The client can now use the new "raw public keys" (RFC 7250) API
 
86
   instead, using GnuTLS 3.6.6.  Please note: This *requires* new key
 
87
   IDs to be added to server's client.conf file.
 
88
** New --tls-privkey and --tls-pubkey options to load TLS key files.
 
89
   If GnuTLS is too old, these options do nothing.
 
90
* Server
 
91
** Supports either old or new GnuTLS.
 
92
   The server now supports using GnuTLS 3.6.6 and clients connecting
 
93
   with "raw public keys" as identification.  The server will read
 
94
   both fingerprints and key IDs from clients.conf file, and will use
 
95
   either one or the other, depending on what is supported by GnuTLS
 
96
   on the system.  Please note: both are *not* supported at once; if
 
97
   one type is supported by GnuTLS, all values of the other type from
 
98
   clients.conf are ignored.
 
99
 
 
100
Version 1.7.20 (2018-08-19)
 
101
* Client
 
102
** Fix: Adapt to the Debian cryptsetup package 2.0.3 or later.
 
103
   Important: in that version or later, the plugins "askpass-fifo",
 
104
   "password-prompt", and "plymouth" will no longer be run, since they
 
105
   would conflict with what cryptsetup is doing.  Other plugins, such
 
106
   as mandos-client and any user-supplied plugins, will still run.
 
107
** Better error message if failing to decrypt secret data
 
108
** Check for (and report) any key import failure from GPGME
 
109
** Better error message if self-signature verification fails
 
110
** Set system clock if not set; required by GnuPG for key import
 
111
** When debugging plugin-runner, it will now show starting plugins
 
112
 
 
113
Version 1.7.19 (2018-02-22)
 
114
* Client
 
115
** Do not print "unlink(...): No such file or directory".
 
116
** Bug fixes: Fix file descriptor leaks.
 
117
** Bug fix: Don't use leak sanitizer with leaking libraries.
 
118
 
 
119
Version 1.7.18 (2018-02-12)
 
120
* Client
 
121
** Bug fix: Revert faulty fix for a nonexistent bug in the
 
122
   plugin-runner
 
123
 
 
124
Version 1.7.17 (2018-02-10)
 
125
* Client
 
126
** Bug fix: Fix a memory leak in the plugin-runner
 
127
** Bug fix: Fix memory leaks in the plymouth plugin
 
128
 
 
129
Version 1.7.16 (2017-08-20)
 
130
* Client
 
131
** Bug fix: ignore "resumedev" entries in initramfs' cryptroot file
 
132
** Bug fix in plymouth plugin: fix memory leak, avoid warning output
 
133
 
 
134
Version 1.7.15 (2017-02-23)
 
135
* Server
 
136
** Bug fix: Respect the mandos.conf "zeroconf" and "restore" options
 
137
* Client
 
138
** Bug fix in mandos-keygen: Handle backslashes in passphrases
 
139
 
 
140
Version 1.7.14 (2017-01-25)
 
141
* Server
 
142
** Use "Requisite" instead of "RequisiteOverridable" in systemd
 
143
   service file.
 
144
 
 
145
Version 1.7.13 (2016-10-08)
 
146
* Client
 
147
** Minor bug fix: Don't ask for passphrase or fail when generating
 
148
   keys using GnuPG 2.1 in a chrooted environment.
 
149
 
 
150
Version 1.7.12 (2016-10-05)
 
151
* Client
 
152
** Bug fix: Don't crash after exit() when using DH parameters file
 
153
 
 
154
Version 1.7.11 (2016-10-01)
 
155
* Client
 
156
** Security fix: Don't compile with AddressSanitizer
 
157
* Server
 
158
** Bug fix: Find GnuTLS library when gnutls28-dev is not installed
 
159
** Bug fix: Include "Expires" and "Last Checker Status" in mandos-ctl
 
160
   verbose output
 
161
** New option for mandos-ctl: --dump-json
 
162
 
 
163
Version 1.7.10 (2016-06-23)
 
164
* Client
 
165
** Security fix: restrict permissions of /etc/mandos/plugin-helpers
 
166
* Server
 
167
** Bug fix: Make the --interface flag work with Python 2.7 when "cc"
 
168
   is not installed
 
169
 
 
170
Version 1.7.9 (2016-06-22)
 
171
* Client
 
172
** Do not include intro(8mandos) man page
 
173
 
 
174
Version 1.7.8 (2016-06-21)
 
175
* Client
 
176
** Include intro(8mandos) man page
 
177
** mandos-keygen: Use ECDSA SSH keys by default
 
178
** Bug fix: Work with GnuPG 2 when booting (Debian bug #819982)
 
179
   by copying /usr/bin/gpg-agent into initramfs
 
180
* Server
 
181
** Bug fix: Work with GnuPG 2 (don't use --no-use-agent option)
 
182
** Bug fix: Make the --interface option work when using Python 2.7
 
183
   by trying harder to find SO_BINDTODEVICE
 
184
 
4
185
Version 1.7.7 (2016-03-19)
5
186
* Client
6
187
** Fix bug in Plymouth client, broken since 1.7.2