[xmlsec] Error: failed to find default node with name="Signature"

Sébastien Brossard sbrossard at turbosa.fr
Wed Sep 19 07:52:51 PDT 2007


Hi!

I ve got a problem trying to verify the following XML file, using the
command line xmlsec
"xmlsec verify --ignore-manifests --keys-file cle.xml c:\temp\in.tmp" :

<?xml version="1.0" encoding="UTF-8"?>
<ebicsNoPubKeyDigestsRequest Revision="1" Version="H001"
xsi:schemaLocation="http://www.ebics.org/H001
http://www.ebics.org/H001/ebics_keymgmt_request.xsd"
xmlns="http://www.ebics.org/H001"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
  <header authenticate="true">
    <static>
      <HostID>EBICSFR</HostID>
      <Nonce>81EED1B73EB2018A2BF5534E70FB3E03</Nonce>
      <Timestamp>2007-09-04T13:27:24.078Z</Timestamp>
      <PartnerID>SEB</PartnerID>
      <UserID>USERID</UserID>
      <OrderDetails>
        <OrderType>HPB</OrderType>
        <OrderAttribute>DZHNN</OrderAttribute>
      </OrderDetails>
      <SecurityMedium>0400</SecurityMedium>
    </static>
    <mutable/>
  </header>
  <AuthSignature>
    <ds:SignedInfo>
      <ds:CanonicalizationMethod
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
      <ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
      <ds:Reference URI="#xpointer(//*[@authenticate='true'])">
        <ds:Transforms>
          <ds:Transform
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
        </ds:Transforms>
        <ds:DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
        <ds:DigestValue>C5MeIHgIP6zcYdaIUZoccO0/Kog=</ds:DigestValue>
      </ds:Reference>
    </ds:SignedInfo>
<ds:SignatureValue>Hl1OgqOASmyiL/QYNE65UOky5Grx3ywDBafoWCg5PKNDpED8E0PrEcfKA
f32Yk2ZlLAkKaoS9IaQYT7CgGKWzQMh1jzcUmguTKuw0+o8LAo6oX7J8KUNsea1tKS4dDwL9+eoO
v9HptHdsJZVMTwnlfg3tzcz2sCDZy039+aBpX4=</ds:SignatureValue>
  </AuthSignature>
  <body/>
</ebicsNoPubKeyDigestsRequest>


The error is : "Error: failed to find default node with name="Signature""
Have you got any idea about how to change the default node name from
"Signature" to "AuthSignature"?
This XML file I have to check is sent to me by a third-part software, so I
can't do anything about it, the "AuthSignature" thing is mandatory...

It seems like I m in a dead end, but maybe there's a solution right in front
of me that I could nt see?? I wish!

Anyway, thanks in advance for your help.

Best regards,

Sébastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20070919/e133381f/attachment-0002.htm


More information about the xmlsec mailing list