/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 debian/changelog

  • Committer: Teddy Hogeborn
  • Date: 2019-02-09 23:23:26 UTC
  • Revision ID: teddy@recompile.se-20190209232326-z1z2kzpgfixz7iaj
Add support for using raw public keys in TLS (RFC 7250)

Since GnuTLS removed support for OpenPGP keys in TLS (RFC 6091), and
no other library supports it, we have to change the protocol to use
something else.  We choose to use "raw public keys" (RFC 7250).  Since
we still use OpenPGP keys to decrypt the secret password, this means
that each client will have two keys: One OpenPGP key and one TLS
public/private key, and the key ID of the latter key is used to
identify clients instead of the fingerprint of the OpenPGP key.

Note that this code is still compatible with GnuTLS before version
3.6.0 (when OpenPGP key support was removed).  This commit merely adds
support for using raw pulic keys instead with GnuTLS 3.6.6. or later.

* DBUS-API (Signals/ClientNotFound): Change name of first parameter
                                     from "Fingerprint" to "KeyID".
  (Mandos Client Interface/Properties/KeyID): New.
* INSTALL: Document conflict with GnuTLS 3.6.0 (which removed OpenPGP
           key support) up until 3.6.6, when support for raw public
           keys was added.  Also document new dependency of client on
           "gnutls-bin" package (for certtool).
* Makefile (run-client): Depend on TLS key files, and also pass them
                         as arguments to client.
  (keydir/tls-privkey.pem, keydir/tls-pubkey.pem): New.
  (confdir/clients.conf): Add dependency on TLS public key.
  (purge-client): Add removal of TLS key files.
* clients.conf ([foo]/key_id, [bar]/key_id): New.
* debian/control (Source: mandos/Build-Depends): Also allow
                                                 libgnutls30 (>= 3.6.6)
  (Package: mandos/Depends): - '' -
  (Package: mandos/Description): Alter description to match new
                                 design.
  (Package: mandos-client/Description): - '' -
  (Package: mandos-client/Depends): Move "gnutls-bin | openssl" to
                                    here from "Recommends".
* debian/mandos-client.README.Debian: Add --tls-privkey and
                                      --tls-pubkey options to test
                                      command.
* debian/mandos-client.postinst (create_key): Renamed to "create_keys"
                                             (all callers changed),
                                             and also create TLS key.
* debian/mandos-client.postrm (purge): Also remove TLS key files.
* intro.xml (DESCRIPTION): Describe new dual-key design.
* mandos (GnuTLS): Define different functions depending on whether
                   support for raw public keys is detected.
  (Client.key_id): New attribute.
  (ClientDBus.KeyID_dbus_property): New method.
  (ProxyClient.__init__): Take new "key_id" parameter.
  (ClientHandler.handle): Use key IDs when using raw public keys and
                          use fingerprints when using OpenPGP keys.
  (ClientHandler.peer_certificate): Also handle raw public keys.
  (ClientHandler.key_id): New.
  (MandosServer.handle_ipc): Pass key ID over the pipe IPC.  Also
                             check for key ID matches when looking up
                             clients.
  (main): Default GnuTLS priority string depends on whether we are
          using raw public keys or not.  When unpickling clients, set
          key_id if not set in the pickle.
  (main/MandosDBusService.ClientNotFound): Change name of first
                                           parameter from
                                           "Fingerprint" to "KeyID".
* mandos-clients.conf.xml (OPTIONS): Document new "key_id" option.
  (OPTIONS/secret): Mention new key ID matchning.
  (EXPANSION/RUNTIME EXPANSION): Add new "key_id" option.
  (EXAMPLE): - '' -
* mandos-ctl (tablewords, main/keywords): Add new "KeyID" property.
* mandos-keygen: Create TLS key files.  New "--tls-keytype" (-T)
                 option.  Alter help text to be more clear about key
                 types.  When in password mode, also output "key_id"
                 option.
* mandos-keygen.xml (SYNOPSIS): Add new "--tls-keytype" (-T) option.
  (DESCRIPTION): Alter to match new dual-key design.
  (OVERVIEW): - '' -
  (FILES): Add TLS key files.
* mandos-options.xml (priority): Document new default priority string
                                 when using raw public keys.
* mandos.xml (NETWORK PROTOCOL): Describe new protocol using key ID.
  (BUGS): Remove issue about checking expire times of OpenPGP keys,
          since TLS public keys do not have expiration times.
  (SECURITY/CLIENT): Alter description to match new design.
  (SEE ALSO/GnuTLS): - '' -
  (SEE ALSO): Add reference to RFC 7250, and alter description of when
              RFC 6091 is used.
* overview.xml: Alter text to match new design.
* plugin-runner.xml (EXAMPLE): Add --tls-pubkey and --tls-privkey
                               options to mandos-client options.
* plugins.d/mandos-client.c: Use raw public keys when compiling with
                             supporting GnuTLS versions. Add new
                             "--tls-pubkey" and "--tls-privkey"
                             options (which do nothing if GnuTLS
                             library does not support raw public
                             keys).  Alter text throughout to reflect
                             new design.  Only generate new DH
                             parameters (based on size of OpenPGP key)
                             when using OpenPGP in TLS.  Default
                             GnuTLS priority string depends on whether
                             we are using raw public keys or not.
* plugins.d/mandos-client.xml (SYNOPSIS): Add new "--tls-privkey" (-t)
                                          and "--tls-pubkey" (-T)
                                          options.
  (DESCRIPTION): Describe new dual-key design.
  (OPTIONS): Document new "--tls-privkey" (-t) and "--tls-pubkey" (-T)
             options.
  (OPTIONS/--dh-bits): No longer necessarily depends on OpenPGP key
                       size.
  (FILES): Add default locations for TLS public and private key files.
  (EXAMPLE): Use new --tls-pubkey and --tls-privkey options.
  (SECURITY): Alter wording slightly to reflect new dual-key design.
  (SEE ALSO/GnuTLS): Alter description to match new design.
  (SEE ALSO): Add reference to RFC 7250, and alter description of when
              RFC 6091 is used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
mandos (1.8.10-1) unstable; urgency=medium
2
 
 
3
 
  * Fix "[INTL:pt] Updated Portuguese translation - debconf messages"
4
 
    by including the contributed translation (Closes: #942595)
5
 
  * Fix "[INTL:nl] Dutch translation of debconf messages" by including the
6
 
    contributed translation (Closes: #946006)
7
 
  * Fix "flaky autopkgtest on arm64" by skipping the flaky test on
8
 
    non-amd64 (Closes: #953799)
9
 
  * debian/control (Standards-Version): Update to "4.5.0".
10
 
 
11
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 21 Mar 2020 17:45:01 +0100
12
 
 
13
 
mandos (1.8.9-2) unstable; urgency=medium
14
 
 
15
 
  * Fix failing autopkgtest.
16
 
  * debian/tests/control (mandos-check/Restrictions): Add "allow-stderr".
17
 
 
18
 
 -- Teddy Hogeborn <teddy@recompile.se>  Wed, 04 Sep 2019 23:14:06 +0200
19
 
 
20
 
mandos (1.8.9-1) unstable; urgency=medium
21
 
 
22
 
  * New upstream release.
23
 
  * Fix "Python2 removal in sid/bullseye" by using Python 3 instead
24
 
    (Closes: #936987)
25
 
  * debian/control (Build-Depends, Build-Depends-Indep): Move "systemd"
26
 
    from indep to regular build-depends.
27
 
    (Build-Depends-Indep, Package: mandos/Depends): Depend on Python 3 and
28
 
    Python 3 modules instead of Python 2.
29
 
 
30
 
 -- Teddy Hogeborn <teddy@recompile.se>  Tue, 03 Sep 2019 20:58:27 +0200
31
 
 
32
 
mandos (1.8.8-1) unstable; urgency=medium
33
 
 
34
 
  * New upstream release.
35
 
  * debian/po/de.po: New; Fix "[INTL:de] Initial German debconf
36
 
    translation" by including the contributed translation (Closes:
37
 
    #934373)
38
 
  * debian/po/fr.po: New; Fix "[INTL:fr] French debconf templates
39
 
    translation" by including the contributed translation (Closes:
40
 
    #934888)
41
 
  * debian/po/sv.po: New Swedish translation.
42
 
  * debian/mandos.postinst: Only reload D-Bus daemon if new user was
43
 
    created.
44
 
  * debian/mandos.dirs (usr/lib/sysusers.d): New.
45
 
  * debian/mandos-client.dirs (usr/lib/sysusers.d): - '' -
46
 
 
47
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sun, 18 Aug 2019 22:01:13 +0200
48
 
 
49
 
mandos (1.8.7-1) unstable; urgency=medium
50
 
 
51
 
  * New upstream release.
52
 
  * debian/upstream/metadata: New.
53
 
  * debian/mandos-client.postrm: Use the same logic as the
54
 
    update_initramfs function in debian/mandos-client.postinst.
55
 
  * debian/mandos-client.templates (mandos-client/key_id): Line which
56
 
    should not be wrapped should be prefixed by a space.
57
 
  * debian/mandos.templates (mandos/key_id): - '' -
58
 
  * debian/po/en_US.po: New "translation" from ASCII to UTF-8.
59
 
  * debian/po/templates.pot: Updated.
60
 
  * debian/source/lintian-overrides
61
 
    (package-uses-old-debhelper-compat-version): New; set to "10".
62
 
  * debian/mandos-client.lintian-overrides
63
 
    (maintainer-script-supports-ancient-package-version): New.
64
 
    debian/mandos.lintian-overrides
65
 
    (maintainer-script-supports-ancient-package-version): - '' -
66
 
 
67
 
 -- Teddy Hogeborn <teddy@recompile.se>  Mon, 05 Aug 2019 23:22:00 +0200
68
 
 
69
 
mandos (1.8.6-1) unstable; urgency=medium
70
 
 
71
 
  * New upstream release.
72
 
  * Fix "mandos FTCBFS: hard codes build architecture pkg-config"
73
 
    by making pkg-config overridable (Closes: #933701)
74
 
  * debian/mandos.postinst (configure): After creating (or renaming) user
75
 
    & group, reload D-Bus daemon (if present).
76
 
 
77
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 03 Aug 2019 14:51:01 +0200
78
 
 
79
 
mandos (1.8.5-1) unstable; urgency=medium
80
 
 
81
 
  * New upstream release.
82
 
  * Fix "does not reap children" by reaping children (Closes: #933387)
83
 
  * debian/mandos-client.README.Debian: Use new-style interface name.
84
 
  * debian/tests/control: New file; implements autopkgtest support.
85
 
  * debian/mandos-client.lintian-overrides
86
 
    (manpage-has-errors-from-man): Remove; unnecessary.
87
 
  * debian/mandos.lintian-overrides
88
 
    (init.d-script-needs-depends-on-lsb-base): - '' -
89
 
  * debian/mandos-client.postinst (update_initramfs): Upstream now
90
 
    supports dracut(8), so update commands here to and run the correct
91
 
    command to update initramfs.
92
 
  * debian/control (Build-Depends): Add GLib -dev package.
93
 
    (mandos-client/Depends): Add dracut(8) as an alternative dependency to
94
 
    initramfs-tools.
95
 
    (mandos-client/Conflicts): New; set to "dracut-config-generic".
96
 
    (debian/mandos-client.README.Debian): Update for dracut(8) support.
97
 
  * debian/mandos-client.templates: Reflowed by debconf-gettextize(1).
98
 
  * debian/mandos.templates: - '' -
99
 
  * debian/po/POTFILES.in: New.
100
 
  * debian/po/templates.pot: - '' -
101
 
  * debian/source/lintian-overrides: New.
102
 
  * debian/control (Standards-Version): Update to "4.4.0".
103
 
 
104
 
 -- Teddy Hogeborn <teddy@recompile.se>  Tue, 30 Jul 2019 20:41:29 +0200
105
 
 
106
 
mandos (1.8.4-1) unstable; urgency=medium
107
 
 
108
 
  * Fix "dirs in initrd are not accessible by mandos plugin-runner" by
109
 
    making sure UMASK is set, no matter what other packages have installed
110
 
    in "/usr/share/initramfs-tools/conf-hooks.d". (Closes: #926641)
111
 
  * Fix "LeakSanitizer: detected memory leaks, fails to decrypt"
112
 
    by fixing memory leak in plugin-runner. (Closes: #926643)
113
 
  * debian/mandos-client.dirs: Add
114
 
    "usr/share/initramfs-tools/conf-hooks.d", needed by fix for #926641.
115
 
 
116
 
 -- Teddy Hogeborn <teddy@recompile.se>  Tue, 09 Apr 2019 22:05:39 +0200
117
 
 
118
 
mandos (1.8.3-3) unstable; urgency=medium
119
 
 
120
 
  * Fix "src:mandos: modifies d/control during build" by not doing that
121
 
    anymore.  (Closes: #922202)
122
 
  * debian/rules (override_dh_shlibdeps-arch): Commented out.
123
 
 
124
 
 -- Teddy Hogeborn <teddy@recompile.se>  Wed, 13 Feb 2019 09:52:39 +0100
125
 
 
126
 
mandos (1.8.3-2) unstable; urgency=medium
127
 
 
128
 
  * debian/rules (override_dh_shlibdeps-arch): New; conditionally edit
129
 
    debian/control before running dh_shlibdeps.
130
 
 
131
 
 -- Teddy Hogeborn <teddy@recompile.se>  Mon, 11 Feb 2019 12:49:57 +0100
132
 
 
133
 
mandos (1.8.3-1) unstable; urgency=medium
134
 
 
135
 
  * New upstream release.
136
 
  * debian/watch: Make the ".orig" file name suffix non-optional;
137
 
    otherwise uscan thinks that ".orig" is part of the version number.
138
 
  * debian/control (Build-Depends): Changed GnuTLS dependencies; move
139
 
    3.6.6 alternative to first in list, and remove dependencies on the
140
 
    virtual package "gnutls-dev", since we need the version restrictions.
141
 
    (Package: mandos/Depends): Remove dependency on libgnutls28-dev
142
 
    package.
143
 
    (Package: mandos/Suggests): New; set to "libc6-dev, c-compiler". (Used
144
 
    to find value of "SO_BINDTODEVICE").
145
 
    (Package: mandos-client/Depends): Don't depend on openssl anymore;
146
 
    instead depend on either a gnutls-bin (>= 3.6.6) (in which case TLS
147
 
    key generation will work), or on libgnutls30 (<< 3.6.0) (in which case
148
 
    TLS key generation will not be needed).
149
 
 
150
 
 -- Teddy Hogeborn <teddy@recompile.se>  Mon, 11 Feb 2019 07:30:32 +0100
151
 
 
152
 
mandos (1.8.2-1) unstable; urgency=medium
153
 
 
154
 
  * New upstream release.
155
 
  * debian/mandos-client.postinst (create_keys): Ignore failure to remove
156
 
                                                 bad keys.
157
 
 
158
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sun, 10 Feb 2019 11:44:56 +0100
159
 
 
160
 
mandos (1.8.1-1) unstable; urgency=high
161
 
 
162
 
  * New upstream release.
163
 
  * debian/mandos-client.postinst (create_keys): Remove any bad keys
164
 
    created by 1.8.0-1. Only create TLS keys if certtool succeeds.
165
 
  * debian/mandos.postinst (configure): Remove any bad keys from
166
 
    clients.conf, and inform the user if any were found.
167
 
  * debian/mandos.templates (mandos/removed_bad_key_ids): New message.
168
 
 
169
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sun, 10 Feb 2019 10:00:21 +0100
170
 
 
171
 
mandos (1.8.0-1) unstable; urgency=medium
172
 
 
173
 
  * New upstream release.
174
 
  * Fix "(tries to) use GnuTLS OpenPGP support" by using raw public keys
175
 
    when available (Closes: #879538)
176
 
  * Fix "mandos : Depends: libgnutls30 (< 3.6.0) but 3.6.5-2 is to be
177
 
    installed" by now also allowing GnuTLS >= 3.6.6 (Closes: #916673)
178
 
  * debian/control (Standards-Version): Update to "4.3.0".
179
 
    (Package: mandos-client/Depends): Change from "cryptsetup" to
180
 
    "cryptsetup (<< 2:2.0.3-1) | cryptsetup-initramfs".  Add "debconf (>=
181
 
    1.5.5) | debconf-2.0".
182
 
    (Source: mandos/Build-Depends): Also allow libgnutls30 (>= 3.6.6).
183
 
    (Package: mandos/Depends): - '' - and add debconf (>= 1.5.5) |
184
 
    debconf-2.0".
185
 
    (Package: mandos/Description): Alter description to match new design.
186
 
    (Package: mandos-client/Description): - '' -
187
 
    (Package: mandos-client/Depends): Move "gnutls-bin | openssl" to here
188
 
    from "Recommends".
189
 
  * debian/mandos-client.README.Debian: Add --tls-privkey and --tls-pubkey
190
 
    options to test command.
191
 
  * debian/mandos-client.postinst (create_key): Renamed to "create_keys"
192
 
    - all callers changed - and also create TLS key files.  Show notice if
193
 
    new TLS key files were created.
194
 
  * debian/mandos-client.postrm (purge): Also remove TLS key files.
195
 
  * debian/mandos-client.lintian-overrides: Override warnings.
196
 
  * debian/mandos-client.templates: New.
197
 
  * debian/mandos.lintian-overrides: Override warnings.
198
 
  * debian/mandos.postinst (configure): If GnuTLS 3.6.6 or later is
199
 
    detected, show an important notice (once) about the new key_id option
200
 
    required in clients.conf.
201
 
  * debian/mandos.templates: New.
202
 
  * debian/copyright: Update copyright year to 2019.
203
 
 
204
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sun, 10 Feb 2019 05:52:49 +0100
205
 
 
206
1
mandos (1.7.20-1) unstable; urgency=medium
207
2
 
208
3
  * New upstream release.