Public bug reported:

Requires xalan package dependency.
Enabled on compile time "configure --with-xalan"

1)
Description:    Ubuntu 13.10
Release:        13.10

2)
libxml-security-c17:
  Installed: 1.7.2-2
  Candidate: 1.7.2-2
  Version table:
 *** 1.7.2-2 0
        500 http://ee.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status

3)
Can validate xml signatures where xpath is required

  <ds:Signature xmlns="http://uri.etsi.org/01903/v1.3.2#"; 
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"; Id="sigId-id07f1597714387559c0
52661774606015">
    <ds:SignedInfo>
      <ds:CanonicalizationMethod 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
      <ds:SignatureMethod 
Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
      <ds:Reference Id="xml_ref_id" URI="">
        <ds:Transforms>
          <ds:Transform 
Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
          <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
          <ds:Transform 
Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116";>
            <ds:XPath>not(ancestor-or-self::ds:Signature)</ds:XPath>
          </ds:Transform>
        </ds:Transforms>
        <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
        
<ds:DigestValue>3cRCxu6U2Z2IZYVxiN84U20V7bhUPpc2I8uMekBKLBI=</ds:DigestValue>
      </ds:Reference>

4)
fails to validate signature

** Affects: xml-security-c (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1269434

Title:
  Enable XPath support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xml-security-c/+bug/1269434/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to