doc/dbus-specification.xml: Clarify description of DBUS_COOKIE_SHA1 (#10184).
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 9 Oct 2007 13:12:31 +0000 (14:12 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 9 Oct 2007 13:12:31 +0000 (14:12 +0100)
Patch from Kristoffer Lundén.

ChangeLog
doc/dbus-specification.xml

index 157e410..f1078fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 2007-10-09  Simon McVittie  <simon.mcvittie@collabora.co.uk>
 
        * doc/dbus-specification.xml: Specifically forbid empty structs (#7969)
+       * doc/dbus-specification.xml: Patch from Kristoffer Lundén to clarify
+       description of DBUS_COOKIE_SHA1 (#10184) [OK for MIT/X11 licensing]
 
 2007-09-20  Ryan Lortie  <desrt@desrt.ca>
 
index ac98d1c..125f892 100644 (file)
             <listitem>
               <para>
                 The client sends the username it would like to authenticate 
-                as.
+                as, hex-encoded.
               </para>
             </listitem>
             <listitem>
                 The server sends the name of its "cookie context" (see below); a
                 space character; the integer ID of the secret cookie the client
                 must demonstrate knowledge of; a space character; then a
-                hex-encoded randomly-generated challenge string.
+                randomly-generated challenge string, all of this hex-encoded into
+                one, single string.
               </para>
             </listitem>
             <listitem>
               <para>
-                The client locates the cookie, and generates its own hex-encoded
-                randomly-generated challenge string.  The client then
-                concatenates the server's hex-encoded challenge, a ":"
-                character, its own hex-encoded challenge, another ":" character,
-                and the hex-encoded cookie.  It computes the SHA-1 hash of this
-                composite string.  It sends back to the server the client's
-                hex-encoded challenge string, a space character, and the SHA-1
-                hash.
+                The client locates the cookie and generates its own
+                randomly-generated challenge string. The client then concatenates
+                the server's decoded challenge, a ":" character, its own challenge,
+                another ":" character, and the cookie. It computes the SHA-1 hash
+                of this composite string as a hex digest. It concatenates the
+                client's challenge string, a space character, and the SHA-1 hex
+                digest, hex-encodes the result and sends it back to the server.
               </para>
             </listitem>
             <listitem>