[xmlsec] Problem with Unknown IO error

Juan Martin Strupeni jstrupeni at rentasgcba.gov.ar
Thu Sep 7 08:15:40 PDT 2006


Hello Aleksey,

In a very first place I want to thank you for all the help you are
providing, it is relly very useful.

We develop in PHP and we like to know how to connect the output of a
program like "verify" to our php web page.

It is possible to compile xmlsec to a library that can be instanciated
from the php code in order to validate an xml file with a pem certificate?
Do you know any other method to do this?

Thank you very much in advance
Juan Martín Strupeni

> Yes, you are doing everything correctly. This strange
> error "Unknown IO error" actually comes from libxml2
> when it reads the XML file. I really don't know
> why does this happen...
>
>
> Aleksey
>
> Juan Martin Strupeni wrote:
>> Hi, Aleksey
>>
>> I'm doing what you told me.
>> But, just to know that I'm not doing everything wrong, is this the
>> wright
>> way to use xmlsec?
>>
>> DesaDGRAFIP:/instalar/xmlsec1/examples # ./verify1 verify4-res.xml
>> rsakey.pem
>> error : Unknown IO error
>> Signature is OK
>>
>> Thanks in advance
>>
>>> It is in the xmlsec/error.c file
>>>
>>> Aleksey
>>>
>>> Juan Martin Strupeni wrote:
>>>> Hi, Aleksey
>>>>
>>>> Where can I find this xmlSecError() function?
>>>>
>>>> I forgot to send this information:
>>>>
>>>> DesaDGRAFIP:/instalar/xmlsec1/examples # ldd ./sign1
>>>>         linux-gate.so.1 =>  (0xffffe000)
>>>>         libdl.so.2 => /lib/libdl.so.2 (0x40026000)
>>>>         libxmlsec1.so.1 => /usr/local/lib/libxmlsec1.so.1 (0x40029000)
>>>>         libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x40073000)
>>>>         libm.so.6 => /lib/tls/libm.so.6 (0x40182000)
>>>>         libc.so.6 => /lib/tls/libc.so.6 (0x401a4000)
>>>>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>>>>
>>>> Thank you very much for your response.
>>>>
>>>>
>>>>> Hm... Can you put a breakpoint in the xmlSecError() function and get
>>>>> a stack trace, please?
>>>>>
>>>>> Aleksey
>>>>>
>>>>
>>
>>
>> Juan Martin Strupeni
>> Lic. Administracion - UBA
>> Direccion de Organizacion y Sistemas
>> Direccion General de Rentas GCBA
>> Esmeralda 638 3
>> Tel: 4-323-8600/8700/8800 (int. 6708,6713)
>>
>


Juan Martin Strupeni
Lic. Administracion - UBA
Direccion de Organizacion y Sistemas
Direccion General de Rentas GCBA
Esmeralda 638 3�
Tel: 4-323-8600/8700/8800 (int. 6708,6713)




More information about the xmlsec mailing list