← Prev in month ← Prev in thread
Next in thread → Next in month →

RE: Issue pr005 - WS-Discovery - SignedInfo element is not inXML-C14N canonical form

From
Vipul Modi <>
Date
2009-03-14T20:38:54+00:00
ID
Thread
RE: Issue pr005 - WS-Discovery - SignedInfo element is not inXML-C14N canonical form
Please find the attached
proposal to address this issue. The changes are purely editorial. 

 

Thanks,

Vipul

 

From: Ram Jeyaraman
[mailto:] 

Sent: Friday, February 27, 2009 2:45 PM

To: 

Subject: [ws-dd] Issue pr005 - WS-Discovery - SignedInfo element is not
in XML-C14N canonical form

 

This issue is assigned the number pr005. For further
discussions on this issue, please refer to this issue number or use this
thread.

 

From: Jay A. Treptow
[mailto:] 

Sent: Thursday, February 26, 2009 6:23 PM

To: 

Subject: [ws-dd-comment] WS-DD 1.1 2009/01

 

Below are comments on the Web Services Dynamic Discovery
(WS-Discovery) Version 1.1 Public Review Draft 01 28 January 2009.

 

Section 8.2 Compact Signature Format:

The SignedInfo element in the example expanded compact
signature in Table 14 is not in XML-C14N canonical form.  Specifically, it
does not contain end tags for elements that only have attributes and no
value.  I believe this is misleading for someone trying to correctly
create the string to sign.  I think that the example should be in
canonicalized form, or at a minimum there should be a note that states that it
is not in canonicalized form.  Below I have inserted what I believe to be
the correct form.

Table 14 canonicalized:

(01)<ds:Signature

(02)   
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"

(03)   
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-1414
wssecurity-secext-1.0.xsd" >

(04)<ds:SignedInfo><ds:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:CanonicalizationMethod><ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference
URI="#ID1"><ds:Transforms><ds:Transform
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces
PrefixList="i" xmlns:ec="http://www.w3.org/2001/10/xml-exc-1421
c14n#"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>ODE3NDkyNzI5</ds:DigestValue></ds:Reference></ds:SignedInfo>

(05) 
<ds:SignatureValue>ru5Ef76xGz5Y5IB2iAzDuMvR5Tg=</ds:SignatureValue>

(06)  <ds:KeyInfo>

(07)    <wsse:SecurityTokenReference>

(08)     
<wsse:KeyIdentifier>Dx42/9g=</wsse:KeyIdentifier>

(09)    </wsse:SecurityTokenReference>

(10)  </ds:KeyInfo>

(11)</ds:Signature>

(12)

 

 

======================

Jay Treptow



======================

 

wsdd-discovery-1.1-spec-wd-07-proposed.docx
← Prev in month ← Prev in thread
Next in thread → Next in month →