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