[xmlsec] Information
Riccardo Manca
riccardomanca@tiscali.it
Fri, 27 Dec 2002 11:49:41 +0100
Messaggio in formato MIME composto da pił parti.
------=_NextPart_000_0012_01C2AD9E.0AF3E7F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Mr.Aleksey Sanin
I'm Riccardo Manca, an intalian student. I use your software for my =
studies and I find this problem using your encryption example ( I use =
enc1.c )
When I run this file my computer show me this output :
xmlSecEncryptedKeyNodeRead (keyinfo.c:926): error 16: invalid key origin =
: xmlSecKeyOriginEncryptedKey
xmlSecAddIDs (xmltree.c:674): error 100: assertion : doc !=3D NULL
<?xml version=3D"1.0"?>
<EncryptedData xmlns=3D"http://www.w3.org/2001/04/xmlenc#">
<EncryptionMethod =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
<KeyInfo xmlns=3D"http://www.w3.org/2000/09/xmldsig#">
<EncryptedKey xmlns=3D"http://www.w3.org/2001/04/xmlenc#">
<EncryptionMethod =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"/>
<KeyInfo xmlns=3D"http://www.w3.org/2000/09/xmldsig#">
<KeyName>test-rsa-key</KeyName>
</KeyInfo>
<CipherData>
<CipherValue>
Usb9YLaMfjNwle4uuwS/+J1f2i8oufQiZNW54zLny5kvTvUZ8O2w6uUl53XDvHxc
0d5d7qDLBeK8bSW72+C4xZ4jUdEihwHffxNIh8w+p0MP1QKb6NyrHU5hgLdORivl
i8OXUJIg1D0TKWNzvNBjS1HlWa/7+JpCJnMOyqB53qOyMvejuUz0GfyPvzayWMLl
KF3WLAnOqzhDt816IjXEnyaa78AlC9lwyyl5q5zBnufR922OuriNeIJd1WkExrZY
iOMET2MlK27L1tN3FIUlRzG7wDMaQsOPGk127hxQH1hiAS3CEVdiTe5fDr9xDlMH
ObsLmvnWFzyVOIyoPEJZRA=3D=3D
</CipherValue>
</CipherData>
</EncryptedKey>
</KeyInfo>
<CipherData>
<CipherValue>
Bzm1UPA3UWC6nNLPqMn1BLG6oXUG51j5
</CipherValue>
</CipherData>
<EncryptionProperties>
<EncryptionProperty Id=3D"Classified" Level=3D"Top secret: destroy =
before reading"/>
</EncryptionProperties>
</EncryptedData>
I use this librarys and OS:
a.. libxml2- 2.4.26=20
b.. libxslt- 1.0.22=20
c.. openssl- 0.9.6c=20
d.. xmlsec- 0.0.11=20
e.. Linux Red Hat 7.1
Can you help me to resolve my problem?
PS : Where can I find the function 'xmlSecAssert' that you use in =
xmltree.c?
PSS : Where can I find your answare in my e-mail box or in a mailing =
list?
Thank you very much for your collaboration
Riccardo Manca
------=_NextPart_000_0012_01C2AD9E.0AF3E7F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Mr.Aleksey Sanin</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm Riccardo Manca, an intalian =
student. I use your=20
software for my studies and I find this problem using your =
encryption=20
example ( I use enc1.c )</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>When I run this file my computer show =
me this=20
output :</FONT></DIV>
<DIV> </DIV>
<DIV><EM><FONT face=3DArial size=3D2><STRONG>xmlSecEncryptedKeyNodeRead=20
(keyinfo.c:926): error 16: invalid key origin :=20
xmlSecKeyOriginEncryptedKey<BR>xmlSecAddIDs (xmltree.c:674): error 100:=20
assertion : doc !=3D NULL</STRONG></FONT></EM></DIV>
<DIV><FONT face=3DArial size=3D2><EM><?xml=20
version=3D"1.0"?><BR><EncryptedData=20
xmlns=3D"http://www.w3.org/2001/04/xmlenc#"><BR><EncryptionMethod=20
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/><BR><=
KeyInfo=20
xmlns=3D"http://www.w3.org/2000/09/xmldsig#"><BR><EncryptedKey=20
xmlns=3D"http://www.w3.org/2001/04/xmlenc#"><BR><EncryptionMethod=20
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"/><BR><=
;KeyInfo=20
xmlns=3D"http://www.w3.org/2000/09/xmldsig#"><BR><KeyName>test-r=
sa-key</KeyName><BR></KeyInfo><BR><CipherData><BR><C=
ipherValue><BR>Usb9YLaMfjNwle4uuwS/+J1f2i8oufQiZNW54zLny5kvTvUZ8O2w6uU=
l53XDvHxc<BR>0d5d7qDLBeK8bSW72+C4xZ4jUdEihwHffxNIh8w+p0MP1QKb6NyrHU5hgLdO=
Rivl<BR>i8OXUJIg1D0TKWNzvNBjS1HlWa/7+JpCJnMOyqB53qOyMvejuUz0GfyPvzayWMLl<=
BR>KF3WLAnOqzhDt816IjXEnyaa78AlC9lwyyl5q5zBnufR922OuriNeIJd1WkExrZY<BR>iO=
MET2MlK27L1tN3FIUlRzG7wDMaQsOPGk127hxQH1hiAS3CEVdiTe5fDr9xDlMH<BR>ObsLmvn=
WFzyVOIyoPEJZRA=3D=3D<BR></CipherValue><BR></CipherData><BR>&=
lt;/EncryptedKey><BR></KeyInfo><BR><CipherData><BR><Cip=
herValue><BR>Bzm1UPA3UWC6nNLPqMn1BLG6oXUG51j5<BR></CipherValue><=
BR></CipherData><BR><EncryptionProperties><BR><EncryptionP=
roperty=20
Id=3D"Classified" Level=3D"Top secret: destroy before=20
reading"/><BR></EncryptionProperties><BR></EncryptedData><=
/EM></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I use this librarys and =
OS:</FONT></DIV>
<UL>
<LI><FONT face=3DArial size=3D2>libxml2- 2.4.26</FONT>=20
<LI><FONT face=3DArial size=3D2>libxslt- 1.0.22</FONT>=20
<LI><FONT face=3DArial size=3D2>openssl- 0.9.6c</FONT>=20
<LI><FONT face=3DArial size=3D2>xmlsec- 0.0.11</FONT>=20
<LI><FONT face=3DArial size=3D2>Linux Red Hat 7.1</FONT></LI></UL>
<DIV><FONT face=3DArial size=3D2>Can you help me to resolve my =
problem?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>PS : Where can I find the function =
'xmlSecAssert'=20
that you use in xmltree.c?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>PSS : Where can I find your answare in =
my e-mail=20
box or in a mailing list?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thank you very much for your=20
collaboration</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Riccardo Manca</FONT></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0012_01C2AD9E.0AF3E7F0--