diff options
author | Havoc Pennington <hp@redhat.com> | 2005-05-05 22:02:11 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-05-05 22:02:11 +0000 |
commit | 4db285c800a68245ad7593e606ca8cb2c21a1329 (patch) | |
tree | 4d10264c98f39ca3d048b97755983fd2feb794ce /doc | |
parent | b4b85685f139f1bbf64a557dee2b7c803e5e550b (diff) |
2005-05-05 Havoc Pennington <hp@redhat.com>
* configure.in (LT_*): add notes on how the libtool versioning
works to save thinking. Increment soname to indicate protocol
breakage (though really the library interface hasn't changed I
guess)
* dbus/dbus-transport.c (_dbus_transport_get_is_authenticated):
verify the GUID received from server matches what we were
expecting, if we had an expectation
* dbus/dbus-auth.c (send_ok): send GUID along with the OK command
(_dbus_auth_get_guid_from_server): new function
(send_begin): parse the OK args
* doc/dbus-specification.xml: add GUID to the auth protocol
Diffstat (limited to 'doc')
-rw-r--r-- | doc/TODO | 7 | ||||
-rw-r--r-- | doc/dbus-specification.xml | 18 |
2 files changed, 14 insertions, 11 deletions
@@ -31,10 +31,6 @@ Important for 1.0 - dbus-pending-call.c has some API and thread safety issues to review - - transmit GUID from server to client in the auth protocol, so - connections can be shared even if the address used to connect - to them didn't have a GUID in it. - - Add test harness for selinux allow/deny cf. this message http://lists.freedesktop.org/archives/dbus/2005-April/002506.html @@ -63,6 +59,9 @@ Might as Well for 1.0 Can Be Post 1.0 === + - if the GUID is obtained only during authentication, not in the address, + we could still share the connection + - Allow a dbus_g_proxy_to_string()/g_object_to_string() that would convert the proxy to an "IOR" and dbus_g_proxy_from_string() that would decode; using these, dbus-glib users could avoid diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index ff625447..0ea43a87 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -1337,7 +1337,7 @@ <itemizedlist> <listitem><para>REJECTED <space-separated list of mechanism names></para></listitem> - <listitem><para>OK</para></listitem> + <listitem><para>OK <GUID in hex></para></listitem> <listitem><para>DATA <data in hex encoding></para></listitem> <listitem><para>ERROR</para></listitem> </itemizedlist> @@ -1478,6 +1478,10 @@ The server must not accept additional commands using this protocol after the OK command has been sent. </para> + <para> + The OK command has one argument, which is the GUID of the server. + See <xref linkend="addresses"/> for more on server GUIDs. + </para> </sect2> <sect2 id="auth-command-error"> <title>ERROR Command</title> @@ -1516,7 +1520,7 @@ (MAGIC_COOKIE is a made up mechanism) C: AUTH MAGIC_COOKIE 3138363935333137393635383634 - S: OK + S: OK 1234deadbeef C: BEGIN </programlisting> </figure> @@ -1528,7 +1532,7 @@ C: AUTH SKEY 7ab83f32ee S: DATA 8799cabb2ea93e C: DATA 8ac876e8f68ee9809bfa876e6f9876g8fa8e76e98f - S: OK + S: OK 1234deadbeef C: BEGIN </programlisting> </figure> @@ -1538,7 +1542,7 @@ C: FOOBAR S: ERROR C: AUTH MAGIC_COOKIE 3736343435313230333039 - S: OK + S: OK 1234deadbeef C: BEGIN </programlisting> </figure> @@ -1550,7 +1554,7 @@ C: AUTH SKEY 7ab83f32ee S: DATA 8799cabb2ea93e C: DATA 8ac876e8f68ee9809bfa876e6f9876g8fa8e76e98f - S: OK + S: OK 1234deadbeef C: BEGIN </programlisting> </figure> @@ -1566,7 +1570,7 @@ C: AUTH SKEY 7ab83f32ee S: DATA 8799cabb2ea93e C: DATA 8ac876e8f68ee9809bfa876e6f9876g8fa8e76e98f - S: OK + S: OK 1234deadbeef C: BEGIN </programlisting> </figure> @@ -1582,7 +1586,7 @@ C: AUTH SKEY 7ab83f32ee S: DATA 8799cabb2ea93e C: DATA 8ac876e8f68ee9809bfa876e6f9876g8fa8e76e98f - S: OK + S: OK 1234deadbeef C: BEGIN </programlisting> </figure> |