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