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