Simon McVittie
e0a0749268
gdbusauthmechanismexternal: Optionally send empty authorization identity
...
When using a GDBus client in a non-trivial user namespace, the result of
geteuid() can differ from the uid in the namespace where the server is
running. This would result in connection attempts being rejected, because
the identity that the client claims to have does not match the identity
that the server derives from its credentials.
RFC 4422 allows us to send an empty authorization identity, which means we
want to authenticate as whatever identity the server can derive from our
out-of-band credentials. In particular, this resolves the authentication
failure when crossing between different Linux user namespaces.
Because D-Bus does not have a way to represent an empty initial response
as distinct from the absence of an initial response, we cannot use the
initial-response optimization (RFC 4422 §4.3.a) in this case, and must
fall back to waiting for the server to send a challenge.
Unfortunately, GDBus versions older than glib!2826 did not implement
the server side of this protocol correctly, and would respond to the
missing initial response in a way that breaks the SASL state machine
(expecting a response without sending a challenge), causing client and
server to deadlock with each waiting for the other to respond. Until
fixed versions of GDBus are widespread, we can't rely on having a server
that can cope with this, so gate it behind a flag, which can be set for
connections that are known to cross non-trivial namespace boundaries.
Originally inspired by
<1ed4723d38
>,
and based on earlier work by Giuseppe Scrivano (in which the
cross-namespace behaviour was unconditional, rather than gated by a
flag).
Co-authored-by: Giuseppe Scrivano <giuseppe@scrivano.org>
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-07-24 13:46:26 +01:00
..
2021-01-05 16:14:16 +00:00
2022-02-18 01:45:10 +00:00
2021-07-26 11:01:07 +01:00
2020-11-20 14:40:19 +00:00
2022-07-23 11:35:08 +00:00
2021-10-19 18:44:38 +02:00
2022-06-17 08:49:03 -05:00
2021-07-02 14:42:54 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-22 20:07:30 +02:00
2022-06-22 20:07:30 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-05 12:30:46 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-23 11:35:08 +00:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:18:52 +01:00
2022-06-30 14:21:37 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-24 13:46:26 +01:00
2022-07-24 13:46:26 +01:00
2022-05-18 09:18:52 +01:00
2022-07-24 13:46:26 +01:00
2022-07-24 13:46:26 +01:00
2022-05-18 09:18:52 +01:00
2022-07-24 13:46:26 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-24 13:46:26 +01:00
2022-05-18 09:18:52 +01:00
2022-07-05 12:30:46 +01:00
2022-07-05 12:30:46 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-23 10:46:45 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-23 10:46:45 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-22 20:07:30 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-23 10:47:05 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-22 20:07:30 +02:00
2022-06-22 20:07:30 +02:00
2022-05-18 09:18:52 +01:00
2022-06-23 20:01:12 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-27 17:03:35 +01:00
2022-05-27 17:03:35 +01:00
2022-05-27 17:03:35 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-06 16:05:33 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 14:01:43 +00:00
2022-07-24 13:46:26 +01:00
2022-07-05 12:30:46 +01:00
2022-07-05 12:30:46 +01:00
2022-06-22 20:07:30 +02:00
2022-06-22 20:07:25 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-13 00:47:31 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-22 01:06:37 +00:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-09 17:08:42 +02:00
2022-05-18 09:18:52 +01:00
2022-06-09 17:08:42 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-27 17:03:35 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-27 17:03:35 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-23 10:46:45 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2019-06-17 16:29:09 -07:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-15 21:36:03 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-01 12:44:23 +01:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-15 21:36:09 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-15 21:36:09 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-05 11:06:49 +00:00
2019-07-24 14:50:53 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-27 15:10:05 -05:00
2022-05-18 09:18:52 +01:00
2022-06-27 15:10:25 -05:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-15 21:36:09 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-23 20:01:12 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2019-05-06 16:26:53 +02:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-23 10:47:39 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-27 14:23:51 -05:00
2022-05-18 09:18:52 +01:00
2022-05-31 17:08:08 -04:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-31 11:34:02 +02:00
2022-05-18 09:18:52 +01:00
2022-07-12 16:07:23 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-23 10:46:45 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-23 10:46:45 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-23 10:47:05 +01:00
2022-05-18 09:18:52 +01:00
2022-06-23 10:47:05 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 14:01:43 +00:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-06-27 11:20:49 +00:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-07-05 12:30:46 +01:00
2022-07-05 12:30:46 +01:00
2022-07-05 12:30:46 +01:00
2022-07-05 12:30:46 +01:00
2022-07-05 12:30:46 +01:00
2022-05-26 14:29:11 +00:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-27 17:03:35 +01:00
2022-05-18 09:18:52 +01:00
2022-06-20 16:09:51 -04:00
2020-06-12 15:01:08 +01:00
2019-12-17 20:48:22 +08:00
2019-12-17 20:48:22 +08:00
2019-01-31 19:00:19 -05:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00
2022-05-18 09:18:52 +01:00