[xmlsec] Re: Is it a bug ?

Aleksey Sanin aleksey@aleksey.com
Tue, 30 Sep 2003 07:46:31 -0700


This is a multi-part message in MIME format.
--------------070606080401040602000101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Yes, I have upgraded Online Verifier this weekend and since the previous 
version
was more than a year old there might be some differences. And this error 
looks familiar.
Have you checked section 3.2 from the FAQ:
       http://www.aleksey.com/xmlsec/faq.html

Aleksey

Hunziker Michael wrote:

> Hi Aleksey
>
>  
>
> I cannot verify a document at your online verifier that verified 
> correctly a few weeks ago.
>
> I get the following error:
>
>  
>
>func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unknown:subj=xmlXPtrEval:error=5:libxml2 library function failed:expr=xpointer(id('SignThis'))
>
>func=xmlSecXPathDataListExecute:file=xpath.c:line=356:obj=unknown:subj=xmlSecXPathDataExecute:error=1:xmlsec library function failed: 
>
>func=xmlSecTransformXPathExecute:file=xpath.c:line=466:obj=xpointer:subj=xmlSecXPathDataExecute:error=1:xmlsec library function failed: 
>
>func=xmlSecTransformDefaultPushXml:file=transforms.c:line=2332:obj=xpointer:subj=xmlSecTransformExecute:error=1:xmlsec library function failed: 
>
>func=xmlSecTransformCtxXmlExecute:file=transforms.c:line=1168:obj=unknown:subj=xmlSecTransformPushXml:error=1:xmlsec library function failed:transform=xpointer
>
>func=xmlSecTransformCtxExecute:file=transforms.c:line=1228:obj=unknown:subj=xmlSecTransformCtxXmlExecute:error=1:xmlsec library function failed: 
>
>func=xmlSecDSigReferenceCtxProcessNode:file=xmldsig.c:line=1564:obj=unknown:subj=xmlSecTransformCtxExecute:error=1:xmlsec library function failed: 
>
>func=xmlSecDSigCtxProcessSignedInfoNode:file=xmldsig.c:line=804:obj=unknown:subj=xmlSecDSigReferenceCtxProcessNode:error=1:xmlsec library function failed:node=Reference
>
>func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=547:obj=unknown:subj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec library function failed: 
>
>func=xmlSecDSigCtxVerify:file=xmldsig.c:line=366:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec library function failed: 
>
>Error: signature verification failed
>
>  
>
> Is it a bug ?
>
>  
>
> Greets from Switzerland
>
> Michi
>
>  
>

--------------070606080401040602000101
Content-Type: multipart/related;
 boundary="------------090602080103050201080306"


--------------090602080103050201080306
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Yes, I have upgraded Online Verifier this weekend and since the
previous version<br>
was more than a year old there might be some differences. And this
error looks familiar.<br>
Have you checked section 3.2 from the FAQ:<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.aleksey.com/xmlsec/faq.html">http://www.aleksey.com/xmlsec/faq.html</a><br>
<br>
Aleksey<br>
<br>
Hunziker Michael wrote:<br>
<blockquote type="cite"
 cite="mid8BEF562A36E7124485789550EF4DC81852CFCC@cn102.kull.ch">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
pre
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
	{page:Section1;}
-->
  </style></o:SmartTagType></o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal"><font size="2" face="Arial"><span
 style="font-size: 10pt; font-family: Arial;">Hi Aleksey<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="2" face="Arial"><span
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB"
 style="font-size: 10pt; font-family: Arial;">I cannot verify a
document at your online verifier
that verified correctly a few weeks ago.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB"
 style="font-size: 10pt; font-family: Arial;">I get the following error:<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB"
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unknown:subj=xmlXPtrEval:error=5:libxml2 library function failed:expr=xpointer(id('SignThis'))<o:p></o:p></span></font></pre>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">func=xmlSecXPathDataListExecute:file=xpath.c:line=356:obj=unknown:subj=xmlSecXPathDataExecute:error=1:xmlsec library function failed: <o:p></o:p></span></font></pre>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">func=xmlSecTransformXPathExecute:file=xpath.c:line=466:obj=xpointer:subj=xmlSecXPathDataExecute:error=1:xmlsec library function failed: <o:p></o:p></span></font></pre>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">func=xmlSecTransformDefaultPushXml:file=transforms.c:line=2332:obj=xpointer:subj=xmlSecTransformExecute:error=1:xmlsec library function failed: <o:p></o:p></span></font></pre>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">func=xmlSecTransformCtxXmlExecute:file=transforms.c:line=1168:obj=unknown:subj=xmlSecTransformPushXml:error=1:xmlsec library function failed:transform=xpointer<o:p></o:p></span></font></pre>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">func=xmlSecTransformCtxExecute:file=transforms.c:line=1228:obj=unknown:subj=xmlSecTransformCtxXmlExecute:error=1:xmlsec library function failed: <o:p></o:p></span></font></pre>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">func=xmlSecDSigReferenceCtxProcessNode:file=xmldsig.c:line=1564:obj=unknown:subj=xmlSecTransformCtxExecute:error=1:xmlsec library function failed: <o:p></o:p></span></font></pre>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">func=xmlSecDSigCtxProcessSignedInfoNode:file=xmldsig.c:line=804:obj=unknown:subj=xmlSecDSigReferenceCtxProcessNode:error=1:xmlsec library function failed:node=Reference<o:p></o:p></span></font></pre>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=547:obj=unknown:subj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec library function failed: <o:p></o:p></span></font></pre>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">func=xmlSecDSigCtxVerify:file=xmldsig.c:line=366:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec library function failed: <o:p></o:p></span></font></pre>
  <pre><font size="2" face="Courier New"><span lang="EN-GB"
 style="font-size: 10pt;">Error: signature verification failed<o:p></o:p></span></font></pre>
  <p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB"
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB"
 style="font-size: 10pt; font-family: Arial;">Is it a bug ?<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB"
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB"
 style="font-size: 10pt; font-family: Arial;">Greets from <st1:country-region
 w:st="on"><st1:place w:st="on">Switzerland</st1:place></st1:country-region><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB"
 style="font-size: 10pt; font-family: Arial;">Michi<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="2" face="Arial"><span lang="EN-GB"
 style="font-size: 10pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <div>
  <div>
  <div>
  <p class="MsoNormal"><font size="3" face="Times New Roman"><span
 style="font-size: 12pt;"><img width="109" height="54" id="_x0000_i1025"
 src="cid:part1.01050106.00030709@aleksey.com" border="0"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="3" face="Arial"><span
 style="font-size: 12pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font size="1" face="Arial"><span
 style="font-size: 8pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;Kull AG<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="1" face="Arial"><span
 style="font-size: 8pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Entfelderstr. 2<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="1" face="Arial"><span
 style="font-size: 8pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CH-5000 Aarau<o:p></o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 36pt;"><font size="1"
 face="Arial"><span style="font-size: 8pt; font-family: Arial;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font size="1" face="Arial"><span
 style="font-size: 8pt; font-family: Arial;">Michael Hunziker<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-GB"
 style="font-size: 8pt; font-family: Arial;">Microsoft&reg; Certified
Professional<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="1" face="Arial"><span lang="EN-GB"
 style="font-size: 8pt; font-family: Arial;">+41 (0)62 834 80 88<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font size="1" face="Verdana"><span
 style="font-size: 8pt; font-family: Verdana;"><a
 href="mailto:Hunziker@kull.ch"><span lang="EN-GB">Hunziker@kull.ch</span></a></span></font><font
 size="1" face="Verdana"><span
 style="font-size: 8pt; font-family: Verdana;"> </span></font><font
 size="1" face="Verdana"><span lang="EN-GB"
 style="font-size: 8pt; font-family: Verdana;"><o:p></o:p></span></font></p>
  </div>
  </div>
  </div>
  <p class="MsoNormal"><font size="3" face="Times New Roman"><span
 lang="EN-GB" style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
</blockquote>
</body>
</html>

--------------090602080103050201080306
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <part1.01050106.00030709@aleksey.com>

R0lGODlhbQA2APcAAAAAAAEBAQMDAwYGBgoKCg8PDwwMDBISEhoaGhgYGB0dHRwcHCQkJCUl
JSEhISsrKzY2Nj4+Pj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BxQrCCheU47wYNeo4O1pc0fa1tPMULFXNQIbWapWmNm1sEmKmFlMYmCDywIEf
MuJbbwZ3o89I6jlz4WBVkPSvnsBESp07YatiVabW7epXw4qDSCIGCVgTCB90YI+MgDK94iTn
Z2/hXlbA953xtAQ97Vlffd73n1CILWN3MAbvzYUZJOAtN1oAC5DYQx7cVAc6gFrLDVRaIxus
ZLAwfsELXdyiFrKIBSxY4eJSpCKY8SwmJf6whzzY8w1uYAMdQ1OGyvVDDE34hyQnXZByIOsX
LJAGpTc9EEvUQAgk5DSn58GDGcRI1JyORSZQEhAAOw==
--------------090602080103050201080306--

--------------070606080401040602000101--