/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 Hogeborn
  • Date: 2019-08-03 11:52:41 UTC
  • Revision ID: teddy@recompile.se-20190803115241-oe9726lcojsaij33
dracut-module/password-agent.c: Require agent directory

Require the --agent-directory (by default "/run/systemd/ask-password")
to be an actual directory; fail otherwise.

* dracut-module/password-agent.c (main): Make ENOTDIR from
  add_inotify_dir_watch() result in EX_OSFILE.
  (add_inotify_dir_watch): Add "IN_ONLYDIR" flag to
                           inotify_add_watch().
  (test_add_inotify_dir_watch_nondir): New test.
  (run_tests): Add new test.

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.5 (2019-07-30)
 
5
* Client
 
6
** Support dracut(8) as well as initramfs-tools(7).
 
7
** Minor bug fix: Allow the mandos-keygen --passfile option to use
 
8
   passfiles with names starting with "-".
 
9
** Document known limitation of mandos-keygen --password; it strips
 
10
   white space from start and end of the password.
 
11
* Server
 
12
** Bug fix: The server used to fail to restart if the "port" setting
 
13
   was used.  This has been fixed.
 
14
** Minor bug fix: Reap zombies left over from checker runs.  (Debian
 
15
   bug #933387)
 
16
 
 
17
Version 1.8.4 (2019-04-09)
 
18
* Client
 
19
** Fix minor memory leak in plugin-runner.
 
20
* Server
 
21
** mandos-ctl now has a --debug option to show D-Bus calls.
 
22
 
 
23
Version 1.8.3 (2019-02-11)
 
24
* No user-visible changes.
 
25
 
 
26
Version 1.8.2 (2019-02-10)
 
27
* Client
 
28
** In mandos-keygen, ignore failures to remove files in some cases.
 
29
 
 
30
Version 1.8.1 (2019-02-10)
 
31
* Client
 
32
** Only generate TLS keys using GnuTLS' certtool, of sufficient
 
33
   version.  Key generation of TLS keys will not happen until a
 
34
   version of GnuTLS is installed with support for raw public keys.
 
35
** Remove any bad keys created by 1.8.0 and openssl.
 
36
* Server
 
37
** On installation, edit clients.conf and remove the same bad key ID
 
38
   which was erroneously reported by all 1.8.0 clients.  Also do not
 
39
   trust this key ID in the server.
 
40
 
 
41
Version 1.8.0 (2019-02-10)
 
42
* Client
 
43
** Use new TLS keys for server communication and identification.
 
44
   With GnuTLS 3.6 or later, OpenPGP keys are no longer supported.
 
45
   The client can now use the new "raw public keys" (RFC 7250) API
 
46
   instead, using GnuTLS 3.6.6.  Please note: This *requires* new key
 
47
   IDs to be added to server's client.conf file.
 
48
** New --tls-privkey and --tls-pubkey options to load TLS key files.
 
49
   If GnuTLS is too old, these options do nothing.
 
50
* Server
 
51
** Supports either old or new GnuTLS.
 
52
   The server now supports using GnuTLS 3.6.6 and clients connecting
 
53
   with "raw public keys" as identification.  The server will read
 
54
   both fingerprints and key IDs from clients.conf file, and will use
 
55
   either one or the other, depending on what is supported by GnuTLS
 
56
   on the system.  Please note: both are *not* supported at once; if
 
57
   one type is supported by GnuTLS, all values of the other type from
 
58
   clients.conf are ignored.
 
59
 
 
60
Version 1.7.20 (2018-08-19)
 
61
* Client
 
62
** Fix: Adapt to the Debian cryptsetup package 2.0.3 or later.
 
63
   Important: in that version or later, the plugins "askpass-fifo",
 
64
   "password-prompt", and "plymouth" will no longer be run, since they
 
65
   would conflict with what cryptsetup is doing.  Other plugins, such
 
66
   as mandos-client and any user-supplied plugins, will still run.
 
67
** Better error message if failing to decrypt secret data
 
68
** Check for (and report) any key import failure from GPGME
 
69
** Better error message if self-signature verification fails
 
70
** Set system clock if not set; required by GnuPG for key import
 
71
** When debugging plugin-runner, it will now show starting plugins
 
72
 
 
73
Version 1.7.19 (2018-02-22)
 
74
* Client
 
75
** Do not print "unlink(...): No such file or directory".
 
76
** Bug fixes: Fix file descriptor leaks.
 
77
** Bug fix: Don't use leak sanitizer with leaking libraries.
 
78
 
 
79
Version 1.7.18 (2018-02-12)
 
80
* Client
 
81
** Bug fix: Revert faulty fix for a nonexistent bug in the
 
82
   plugin-runner
 
83
 
 
84
Version 1.7.17 (2018-02-10)
 
85
* Client
 
86
** Bug fix: Fix a memory leak in the plugin-runner
 
87
** Bug fix: Fix memory leaks in the plymouth plugin
 
88
 
 
89
Version 1.7.16 (2017-08-20)
 
90
* Client
 
91
** Bug fix: ignore "resumedev" entries in initramfs' cryptroot file
 
92
** Bug fix in plymouth plugin: fix memory leak, avoid warning output
 
93
 
 
94
Version 1.7.15 (2017-02-23)
 
95
* Server
 
96
** Bug fix: Respect the mandos.conf "zeroconf" and "restore" options
 
97
* Client
 
98
** Bug fix in mandos-keygen: Handle backslashes in passphrases
 
99
 
 
100
Version 1.7.14 (2017-01-25)
 
101
* Server
 
102
** Use "Requisite" instead of "RequisiteOverridable" in systemd
 
103
   service file.
 
104
 
 
105
Version 1.7.13 (2016-10-08)
 
106
* Client
 
107
** Minor bug fix: Don't ask for passphrase or fail when generating
 
108
   keys using GnuPG 2.1 in a chrooted environment.
 
109
 
 
110
Version 1.7.12 (2016-10-05)
 
111
* Client
 
112
** Bug fix: Don't crash after exit() when using DH parameters file
 
113
 
 
114
Version 1.7.11 (2016-10-01)
 
115
* Client
 
116
** Security fix: Don't compile with AddressSanitizer
 
117
* Server
 
118
** Bug fix: Find GnuTLS library when gnutls28-dev is not installed
 
119
** Bug fix: Include "Expires" and "Last Checker Status" in mandos-ctl
 
120
   verbose output
 
121
** New option for mandos-ctl: --dump-json
 
122
 
 
123
Version 1.7.10 (2016-06-23)
 
124
* Client
 
125
** Security fix: restrict permissions of /etc/mandos/plugin-helpers
 
126
* Server
 
127
** Bug fix: Make the --interface flag work with Python 2.7 when "cc"
 
128
   is not installed
 
129
 
 
130
Version 1.7.9 (2016-06-22)
 
131
* Client
 
132
** Do not include intro(8mandos) man page
 
133
 
 
134
Version 1.7.8 (2016-06-21)
 
135
* Client
 
136
** Include intro(8mandos) man page
 
137
** mandos-keygen: Use ECDSA SSH keys by default
 
138
** Bug fix: Work with GnuPG 2 when booting (Debian bug #819982)
 
139
   by copying /usr/bin/gpg-agent into initramfs
 
140
* Server
 
141
** Bug fix: Work with GnuPG 2 (don't use --no-use-agent option)
 
142
** Bug fix: Make the --interface option work when using Python 2.7
 
143
   by trying harder to find SO_BINDTODEVICE
 
144
 
 
145
Version 1.7.7 (2016-03-19)
 
146
* Client
 
147
** Fix bug in Plymouth client, broken since 1.7.2
 
148
 
 
149
Version 1.7.6 (2016-03-13)
 
150
* Server
 
151
** Fix bug where stopping server would time out
 
152
** Make server runnable with Python 3
 
153
 
 
154
Version 1.7.5 (2016-03-08)
 
155
* Server
 
156
** Fix security restrictions in systemd service file.
 
157
** Work around bug where stopping server would time out
 
158
 
 
159
Version 1.7.4 (2016-03-05)
 
160
* Client
 
161
** Bug fix: Tolerate errors from configure_networking (Debian Bug
 
162
   #816513)
 
163
** Compilation: Only use sanitizing options which work with the
 
164
   compiler used when building.  This should fix compilation with GCC
 
165
   4.9 on mips, mipsel, and s390x.
 
166
* Server
 
167
** Add extra security restrictions in systemd service file.
 
168
 
 
169
Version 1.7.3 (2016-02-29)
 
170
* Client
 
171
** Bug fix: Remove new type of keyring directory user by GnuPG 2.1.
 
172
** Bug fix: Remove "nonnull" attribute from a function argument, which
 
173
   would otherwise generate a spurious runtime warning.
 
174
 
 
175
Version 1.7.2 (2016-02-28)
 
176
* Server
 
177
** Stop using python-gnutls library; it was not updated to GnuTLS 3.3.
 
178
** Bug fix: Only send D-Bus signal ClientRemoved if using D-Bus.
 
179
** Use GnuPG 2 if available.
 
180
* Client
 
181
** Compile with various sanitizing flags.
 
182
 
 
183
Version 1.7.1 (2015-10-24)
 
184
* Client
 
185
** Bug fix: Can now really find Mandos server even if the server has
 
186
   an IPv6 address on a network other than the one which the Mandos
 
187
   server is on.
 
188
 
 
189
Version 1.7.0 (2015-08-10)
 
190
* Server
 
191
** Bug fix: Handle local Zeroconf service name collisions better.
 
192
** Bug fix: Finally fix "ERROR: Child process vanished" bug.
 
193
** Bug fix: Fix systemd service file to start server correctly.
 
194
** Bug fix: Be compatible with old 2048-bit DSA keys.
 
195
** The D-Bus API now provides the standard D-Bus ObjectManager
 
196
   interface, and deprecates older functionality.  See the DBUS-API
 
197
   file for the currently recommended API.  Note: the original API
 
198
   still works, but is deprecated.
 
199
* Client
 
200
** Can now find Mandos server even if the server has an IPv6 address
 
201
   on a network without IPv6 Router Advertisment (like if the Mandos
 
202
   client itself is the router, or there is an IPv6 router advertising
 
203
   a network other than the one which the Mandos server is on.)
 
204
** Use a better value than 1024 for the default number of DH bits.
 
205
   This better value is either provided by a DH parameters file (see
 
206
   below) or an appropriate number of DH bits is determined based on
 
207
   the PGP key.
 
208
** Bug fix: mandos-keygen now generates correct output for the
 
209
   "Checker" variable even if the SSH server on the Mandos client has
 
210
   multiple SSH key types.
 
211
** Can now use pre-generated Diffie-Hellman parameters from a file.
 
212
 
 
213
Version 1.6.9 (2014-10-05)
 
214
* Server
 
215
** Changed to emit standard D-Bus signal when D-Bus properties change.
 
216
   (The old signal is still emitted too, but marked as deprecated.)
 
217
 
 
218
Version 1.6.8 (2014-08-06)
 
219
* Client
 
220
** Bug fix: mandos-keygen now generates working SSH checker commands.
 
221
* Server
 
222
** Bug fix: "mandos-monitor" now really redraws screen on Ctrl-L.
 
223
** Now requires Python 2.7.
 
224
 
 
225
Version 1.6.7 (2014-07-17)
 
226
* Client
 
227
** Bug fix: Now compatible with GPGME 1.5.0.
 
228
** Bug fix: Fixed minor memory leaks.
 
229
* Server
 
230
** "mandos-monitor" now has verbose logging, toggleable with "v".
 
231
 
 
232
Version 1.6.6 (2014-07-13)
 
233
* Client
 
234
** If client host has an SSH server, "mandos-keygen --password" now
 
235
   outputs "checker" option which uses "ssh-keyscan"; this is more
 
236
   secure than the default "fping" checker.
 
237
** Bug fix: allow "." in network hook names, to match documentation.
 
238
** Better error messages.
 
239
* Server
 
240
** New --no-zeroconf option.
 
241
** Bug fix: Fix --servicename option, broken since 1.6.4.
 
242
** Bug fix: Fix --socket option work for --socket=0.
 
243
 
 
244
Version 1.6.5 (2014-05-11)
 
245
* Client
 
246
** Work around bug in GnuPG <http://bugs.g10code.com/gnupg/issue1622>
 
247
** Give better error messages when run without sufficient privileges
 
248
** Only warn if workaround for Debian bug #633582 was necessary and
 
249
   failed, not if it failed and was unnecessary.
 
250
 
 
251
Version 1.6.4 (2014-02-16)
 
252
* Server
 
253
** Very minor fix to self-test code.
 
254
 
 
255
Version 1.6.3 (2014-01-21)
 
256
* Server
 
257
** Add systemd support.
 
258
** For PID file, fall back to /var/run if /run does not exist.
 
259
* Client
 
260
** Moved files from /usr/lib/mandos to whatever the architecture
 
261
   specifies, like /usr/lib/x86_64-linux-gnu/mandos or
 
262
   /usr/lib64/mandos.
 
263
 
 
264
Version 1.6.2 (2013-10-24)
 
265
* Server
 
266
** PID file moved from /var/run to /run.
 
267
** Bug fix: Handle long secrets when saving client state.
 
268
** Bug fix: Use more magic in the GnuTLS priority string to handle
 
269
   both old DSA/ELG 2048-bit keys and new RSA/RSA 4096-bit keys.
 
270
* Client
 
271
** mandos-keygen: Bug fix: now generate RSA keys which GnuTLS can use.
 
272
                  Bug fix: Output passphrase prompts even when
 
273
                  redirecting standard output.
 
274
 
 
275
Version 1.6.1 (2013-10-13)
 
276
* Server
 
277
** All client options for time intervals now also take an RFC 3339
 
278
   duration.  The same for all options to mandos-ctl.
 
279
** Bug fix: Handle fast checkers (like ":") correctly.
 
280
** Bug fix: Don't print output from checkers when running in
 
281
   foreground.
 
282
** Bug fix: Do not fail when client is removed from clients.conf but
 
283
   saved settings remain.
 
284
** Bug fix: mandos-monitor now displays standout (reverse video) again
 
285
   using new version of Urwid.
 
286
** Bug fix: Make boolean options work from the config file again.
 
287
** Bug fix: Make --no-ipv6 work again.
 
288
** New default priority string to be slightly more compatible with
 
289
   older versions of GnuTLS.
 
290
* Client
 
291
** Bug fix: Fix bashism in mandos-keygen.
 
292
** Default key and subkey types are now RSA and RSA, respectively.
 
293
   Also, new default key size is 4096 bits.
 
294
 
 
295
Version 1.6.0 (2012-06-18)
 
296
* Server
 
297
** Takes new --foreground option
 
298
** Init script supports new "status" action.
 
299
* Client
 
300
** Now uses all interfaces by default; the --interface option can
 
301
   still be used to restrict it, and the argument to --interface (as
 
302
   well as the $DEVICE environment variable for the network hooks) is
 
303
   now a comma-separated list of interfaces to use.
 
304
 
 
305
Version 1.5.5 (2012-06-01)
 
306
* Server
 
307
** Server takes new --socket option
 
308
 
 
309
Version 1.5.4 (2012-05-20)
 
310
* Server
 
311
** Bug fix: Regression fix: Make non-zero approval timeout values work.
 
312
** Bug fix: Regression fix: Allow changing the Timeout D-Bus property.
 
313
** Fall back to not bind to an interface if an invalid interface name
 
314
   is given.
 
315
** Removed support for undocumented feature of using plain "%%s" in
 
316
   "checker" client option.
 
317
** Old D-Bus interface are now marked as deprecated.
 
318
** mandos-monitor: Bug fix: show approval timers correctly.
 
319
** mandos-ctl: Show "Extended Timeout" correctly, not as milliseconds.
 
320
 
4
321
Version 1.5.3 (2012-01-15)
5
322
* Server
6
323
** Add D-Bus property se.recompile.Client.LastCheckerStatus and use it