From cf46425d9b5c890b7b865089d3ba91c7bf6f706a Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Tue, 29 Jan 2008 19:03:43 +0000 Subject: [PATCH] 1.5pre18 git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1609 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0115.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/xep-0115.xml b/xep-0115.xml index cf5c4a46..be58129d 100644 --- a/xep-0115.xml +++ b/xep-0115.xml @@ -34,8 +34,8 @@ jajcus@jabber.bnet.pl - 1.5pre17 - in progress, last updated 2008-01-28 + 1.5pre18 + in progress, last updated 2008-01-29 jjh/psa
    @@ -45,6 +45,7 @@
  • More clearly specified security considerations
  • More clearly specified implementation notes
  • Modified generation method to incorporate service discovery extensions
  • +
  • More clearly specified processing method
  • Clarified meaning and construction of caps node attribute and disco node attribute
  • Specified that node attribute shall be included in disco#info request for backwards-compatibility
  • Clarified handling of the legacy format to assist developers
  • @@ -190,7 +191,7 @@ + ver='8lu+88MRxmKM7yO3MEzY7YmTsWs='/> ]]>

    ... or the following presence ...

    @@ -288,7 +289,8 @@ -
  • Compute ver by hashing S using the algorithm specified in the 'hash' attribute (e.g., SHA-1 as defined in &rfc3174;). The hashed data MUST be generated with binary output and encoded using Base64 as specified in Section 4 of &rfc4648; (note: the Base64 output MUST NOT include whitespace and MUST set padding bits to zero). The OpenSSL command for producing such output with SHA-1 is "echo -n 'S' | openssl dgst -binary -sha1 | openssl enc -nopad -base64".
  • +
  • Ensure that S is encoded according to the UTF-8 encoding (&rfc3269;).
  • +
  • Compute the verification string by hashing S using the algorithm specified in the 'hash' attribute (e.g., SHA-1 as defined in &rfc3174;). The hashed data MUST be generated with binary output and encoded using Base64 as specified in Section 4 of &rfc4648; (note: the Base64 output MUST NOT include whitespace and MUST set padding bits to zero). The OpenSSL command for producing such output with SHA-1 is "echo -n 'S' | openssl dgst -binary -sha1 | openssl enc -nopad -base64".
  • @@ -310,7 +312,7 @@ to='juliet@capulet.lit/chamber' type='result'> <query xmlns='http://jabber.org/protocol/disco#info' - node='http://psi-im.org#OSkaDqG4Q46zrXf5G6WSjfzgzGo='> + node='http://psi-im.org#8lu+88MRxmKM7yO3MEzY7YmTsWs='> <identity xml:lang='en' category='client' name='Psi 0.9.1' type='pc'/> <identity xml:lang='el' category='client' name='Ψ 0.9.1' type='pc'/> <feature var='http://jabber.org/protocol/disco#info'/> @@ -355,7 +357,7 @@
  • S = 'client/pc/el/Ψ 0.9.1<client/pc/en/Psi 0.9.1<http://jabber.org/protocol/caps
    <http://jabber.org/protocol/disco#info<http://jabber.org/protocol/disco#items<http://jabber.org/protocol/muc
    <urn:xmpp:dataforms:softwareinfo<ip_version<ipv4<ipv6<os<Mac<os_version<OS X 10.5.1<software<Psi<software_version<0.11<'
  • -
  • ver = OSkaDqG4Q46zrXf5G6WSjfzgzGo=
  • +
  • ver = 8lu+88MRxmKM7yO3MEzY7YmTsWs=