dbus/cmake
Simon McVittie 084977cfe2 Security hardening: force EXTERNAL auth in session.conf on Unix
DBUS_COOKIE_SHA1 is dependent on unguessable strings, i.e.
indirectly dependent on high-quality pseudo-random numbers
whereas EXTERNAL authentication (credentials-passing)
is mediated by the kernel and cannot be faked.

On Windows, EXTERNAL authentication is not available,
so we continue to use the hard-coded default (all
authentication mechanisms are tried).

Users of tcp: or nonce-tcp: on Unix will have to comment
this out, but they would have had to use a special
configuration anyway (to set the listening address),
and the tcp: and nonce-tcp: transports are inherently
insecure unless special steps are taken to have them
restricted to a VPN or SSH tunnelling.

Users of obscure Unix platforms (those that trigger
the warning "Socket credentials not supported on this Unix OS"
when compiling dbus-sysdeps-unix.c) might also have to
comment this out, or preferably provide a tested patch
to enable credentials-passing on that OS.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=90414
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
2015-05-14 14:30:30 +01:00
..
bus Add apparmor element support to bus config parsing 2015-02-18 17:04:00 +00:00
dbus cmake: stop using deprecated LOCATION property (policy CMP0026) 2015-03-06 20:32:30 +01:00
doc Add dbus-update-activation-environment tool 2015-02-24 11:15:52 +00:00
modules cmake: @VAR@ substitutions in set() are deprecated, use string(CONFIGURE) instead (policy CMP0053) 2015-03-06 20:35:59 +01:00
test Add test-fdpass to cmake build system. 2015-03-04 18:43:54 +00:00
tools Actually commit cmake changes for dbus-launch 2015-02-24 11:42:54 +00:00
bus-test.bat.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
CMakeLists.txt Security hardening: force EXTERNAL auth in session.conf on Unix 2015-05-14 14:30:30 +01:00
config.h.cmake Keep cmake generated defines for include files in sync with autotools. 2015-03-05 14:05:59 +01:00
ConfigureChecks.cmake Add missing include file for cmake function check_include_files() (commit 2d2b5af) 2015-03-05 14:45:18 +01:00
dbus-env.bat.cmake Split DBUS_SESSION_BUS_DEFAULT_ADDRESS into listen, connect addresses and set better defaults 2012-08-13 19:57:13 +01:00