[xmlsec] Problem with 1.2.18 and mscrypto - key not found

EdShallow ed.shallow at gmail.com
Sat Jun 18 15:39:56 PDT 2011


OK... starting the process ... compiling 1.2.13 ... never saw these warnings
before.

You should be able to see this problem, I don't

Any ideas?

Ed

C:\XMLSec\xmlsec1-1.2.13\win32>nmake all

Microsoft (R) Program Maintenance Utility   Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.

        if not exist apps.int mkdir apps.int
        if not exist binaries mkdir binaries
        if not exist libxmlsec.int mkdir libxmlsec.int
        cl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_REENTRANT"
/W1 /MD /I.. /I..\include /IC:\XMLSec\xmlsec1-1.2.13\include /D
PACKAGE=\"xmlsec\" /D "HAVE_STDIO_H" /D "HAVE
_STDLIB_H" /D "HAVE_STRING_H" /D "HAVE_CTYPE_H" /D "HAVE_MALLOC_H" /D
"HAVE_MEMORY_H" /D "NDEBUG" /O2 /DXMLSEC_MSCRYPTO_NT4=1 /D LTDL_OBJDIR=\"\"
/D LTDL_SHLIB_EXT=\".dll\" /Folibxmlsec
.int\ /c ..\src\app.c ..\src\base64.c ..\src\bn.c ..\src\buffer.c
..\src\c14n.c ..\src\dl.c ..\src\enveloped.c ..\src\errors.c ..\src\io.c
..\src\keyinfo.c ..\src\keys.c ..\src\keysdata
.c ..\src\keysmngr.c ..\src\list.c ..\src\membuf.c ..\src\nodeset.c
..\src\parser.c ..\src\soap.c ..\src\strings.c ..\src\templates.c
..\src\transforms.c ..\src\x509.c ..\src\xkms.c ..\
src\xmldsig.c ..\src\xmlenc.c ..\src\xmlsec.c ..\src\xmltree.c
..\src\xpath.c ..\src\xslt.c ..\src\xmlsec-ltdl.c
app.c
base64.c
bn.c
buffer.c
c14n.c
dl.c
enveloped.c
errors.c
io.c
keyinfo.c
keys.c
keysdata.c
keysmngr.c
list.c
membuf.c
nodeset.c
parser.c
soap.c
strings.c
templates.c
Generating Code...
Compiling...
transforms.c
x509.c
xkms.c
xmldsig.c
xmlenc.c
xmlsec.c
xmltree.c
xpath.c
xslt.c
xmlsec-ltdl.c
..\src\xmlsec-ltdl.c(289) : warning C4090: 'function' : different 'const'
qualifiers
..\src\xmlsec-ltdl.c(805) : warning C4090: '=' : different 'const'
qualifiers
..\src\xmlsec-ltdl.c(907) : warning C4113: 'xmlsec_lt_module (__cdecl *)()'
differs in parameter lists from 'xmlsec_lt_module_open (__cdecl *)'
..\src\xmlsec-ltdl.c(907) : warning C4113: 'int (__cdecl *)()' differs in
parameter lists from 'xmlsec_lt_module_close (__cdecl *)'
..\src\xmlsec-ltdl.c(907) : warning C4113: 'void *(__cdecl *)()' differs in
parameter lists from 'xmlsec_lt_find_sym (__cdecl *)'
..\src\xmlsec-ltdl.c(1255) : warning C4113: 'xmlsec_lt_module (__cdecl *)()'
differs in parameter lists from 'xmlsec_lt_module_open (__cdecl *)'
..\src\xmlsec-ltdl.c(1255) : warning C4113: 'int (__cdecl *)()' differs in
parameter lists from 'xmlsec_lt_module_close (__cdecl *)'
..\src\xmlsec-ltdl.c(1255) : warning C4113: 'void *(__cdecl *)()' differs in
parameter lists from 'xmlsec_lt_find_sym (__cdecl *)'
..\src\xmlsec-ltdl.c(1255) : warning C4113: 'int (__cdecl *)()' differs in
parameter lists from 'xmlsec_lt_dlloader_exit (__cdecl *)'
..\src\xmlsec-ltdl.c(1632) : warning C4090: '=' : different 'const'
qualifiers
..\src\xmlsec-ltdl.c(1680) : warning C4090: '=' : different 'const'
qualifiers
..\src\xmlsec-ltdl.c(2053) : warning C4090: '=' : different 'const'
qualifiers
..\src\xmlsec-ltdl.c(2238) : warning C4090: '=' : different 'const'
qualifiers
Generating Code...
        link.exe /nologo /LIBPATH:binaries
/LIBPATH:C:\XMLSec\xmlsec1-1.2.13\lib /OPT:NOWIN98 /DLL /VERSION:1.2
/IMPLIB:binaries\libxmlsec.lib /OUT:binaries\libxmlsec.dll  libxmlsec.in
t\app.obj libxmlsec.int\base64.obj libxmlsec.int\bn.obj
libxmlsec.int\buffer.obj
libxmlsec.int\c14n.obj  libxmlsec.int\dl.obj  libxmlsec.int\enveloped.obj
libxmlsec.int\errors.obj  li
bxmlsec.int\io.obj  libxmlsec.int\keyinfo.obj  libxmlsec.int\keys.obj
libxmlsec.int\keysdata.obj  libxmlsec.int\keysmngr.obj  libxmlsec.int\list.obj
libxmlsec.int\membuf.obj  libxmlse
c.int\nodeset.obj  libxmlsec.int\parser.obj  libxmlsec.int\soap.obj
libxmlsec.int\strings.obj  libxmlsec.int\templates.obj
libxmlsec.int\transforms.obj
libxmlsec.int\x509.obj  libxml
sec.int\xkms.obj  libxmlsec.int\xmldsig.obj  libxmlsec.int\xmlenc.obj
libxmlsec.int\xmlsec.obj  libxmlsec.int\xmltree.obj  libxmlsec.int\xpath.obj
libxmlsec.int\xslt.obj libxmlsec.int
\xmlsec-ltdl.obj  libxml2.lib libxslt.lib
   Creating library binaries\libxmlsec.lib and object binaries\libxmlsec.exp
        if not exist libxmlsec_mscrypto.int mkdir libxmlsec_mscrypto.int
        cl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_REENTRANT"
/W1 /MD /I.. /I..\include /IC:\XMLSec\xmlsec1-1.2.13\include /D
PACKAGE=\"xmlsec\" /D "HAVE_STDIO_H" /D "HAVE
_STDLIB_H" /D "HAVE_STRING_H" /D "HAVE_CTYPE_H" /D "HAVE_MALLOC_H" /D
"HAVE_MEMORY_H" /D "NDEBUG" /O2 /DXMLSEC_MSCRYPTO_NT4=1 /D LTDL_OBJDIR=\"\"
/D LTDL_SHLIB_EXT=\".dll\" /D "XMLSEC_C
RYPTO_MSCRYPTO" /D "XMLSEC_CRYPTO=\"mscrypto\"" /Folibxmlsec_mscrypto.int\
/c ..\src\mscrypto\app.c ..\src\mscrypto\crypto.c ..\src\mscrypto\ciphers.c
..\src\mscrypto\digests.c ..\src\m
scrypto\symkeys.c ..\src\mscrypto\kt_rsa.c ..\src\mscrypto\signatures.c
..\src\mscrypto\certkeys.c ..\src\mscrypto\keysstore.c
..\src\mscrypto\x509.c ..\src\mscrypto\x509vfy.c
app.c
crypto.c
ciphers.c
digests.c
symkeys.c
kt_rsa.c
signatures.c
certkeys.c
keysstore.c
x509.c
x509vfy.c
Generating Code...
        cl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_REENTRANT"
/W1 /MD /I.. /I..\include /IC:\XMLSec\xmlsec1-1.2.13\include /D
PACKAGE=\"xmlsec\" /D "HAVE_STDIO_H" /D "HAVE
_STDLIB_H" /D "HAVE_STRING_H" /D "HAVE_CTYPE_H" /D "HAVE_MALLOC_H" /D
"HAVE_MEMORY_H" /D "NDEBUG" /O2 /DXMLSEC_MSCRYPTO_NT4=1 /D LTDL_OBJDIR=\"\"
/D LTDL_SHLIB_EXT=\".dll\" /D "XMLSEC_C
RYPTO_MSCRYPTO" /D "XMLSEC_CRYPTO=\"mscrypto\"" /Folibxmlsec_mscrypto.int\
/c ..\src\strings.c
strings.c
        link.exe /nologo /LIBPATH:binaries
/LIBPATH:C:\XMLSec\xmlsec1-1.2.13\lib /OPT:NOWIN98 /DLL /VERSION:1.2
/IMPLIB:binaries\libxmlsec-mscrypto.lib /OUT:binaries\libxmlsec-mscrypto
.dll  libxmlsec_mscrypto.int\app.obj libxmlsec_mscrypto.int\crypto.obj
libxmlsec_mscrypto.int\ciphers.obj  libxmlsec_mscrypto.int\digests.obj
libxmlsec_mscrypto.int\symkeys.obj  libxm
lsec_mscrypto.int\kt_rsa.obj  libxmlsec_mscrypto.int\strings.obj
libxmlsec_mscrypto.int\signatures.obj  libxmlsec_mscrypto.int\certkeys.obj
libxmlsec_mscrypto.int\keysstore.obj  libxm
lsec_mscrypto.int\x509.obj  libxmlsec_mscrypto.int\x509vfy.obj
libxmlsec.lib  libxml2.lib libxslt.lib kernel32.lib user32.lib gdi32.lib
Crypt32.lib Advapi32.lib
   Creating library binaries\libxmlsec-mscrypto.lib and object
binaries\libxmlsec-mscrypto.exp
        if not exist libxmlsec_mscrypto_a.int mkdir libxmlsec_mscrypto_a.int
        cl.exe /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC"
/nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_REENTRANT"  /W1 /MD /I..
/I..\include /IC:\XMLSec\xmlsec1-1.2.
13\include /D PACKAGE=\"xmlsec\" /D "HAVE_STDIO_H" /D "HAVE_STDLIB_H" /D
"HAVE_STRING_H" /D "HAVE_CTYPE_H" /D "HAVE_MALLOC_H" /D "HAVE_MEMORY_H" /D
"NDEBUG" /O2 /DXMLSEC_MSCRYPTO_NT4=1
/D LTDL_OBJDIR=\"\" /D LTDL_SHLIB_EXT=\".dll\" /D "XMLSEC_CRYPTO_MSCRYPTO"
/D "XMLSEC_CRYPTO=\"mscrypto\"" /Folibxmlsec_mscrypto_a.int\ /c
..\src\mscrypto\app.c ..\src\mscrypto\crypto.c
 ..\src\mscrypto\ciphers.c ..\src\mscrypto\digests.c
..\src\mscrypto\symkeys.c ..\src\mscrypto\kt_rsa.c
..\src\mscrypto\signatures.c ..\src\mscrypto\certkeys.c
..\src\mscrypto\keysstore
.c ..\src\mscrypto\x509.c ..\src\mscrypto\x509vfy.c
app.c
crypto.c
ciphers.c
digests.c
symkeys.c
kt_rsa.c
signatures.c
certkeys.c
keysstore.c
x509.c
x509vfy.c
Generating Code...
        cl.exe /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC"
/nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_REENTRANT"  /W1 /MD /I..
/I..\include /IC:\XMLSec\xmlsec1-1.2.
13\include /D PACKAGE=\"xmlsec\" /D "HAVE_STDIO_H" /D "HAVE_STDLIB_H" /D
"HAVE_STRING_H" /D "HAVE_CTYPE_H" /D "HAVE_MALLOC_H" /D "HAVE_MEMORY_H" /D
"NDEBUG" /O2 /DXMLSEC_MSCRYPTO_NT4=1
/D LTDL_OBJDIR=\"\" /D LTDL_SHLIB_EXT=\".dll\" /D "XMLSEC_CRYPTO_MSCRYPTO"
/D "XMLSEC_CRYPTO=\"mscrypto\"" /Folibxmlsec_mscrypto_a.int\ /c
..\src\strings.c
strings.c
        link.exe /lib /nologo /OUT:binaries\libxmlsec-mscrypto_a.lib
libxmlsec_mscrypto_a.int\app.obj libxmlsec_mscrypto_a.int\crypto.obj
libxmlsec_mscrypto_a.int\ciphers.obj  libxmlse
c_mscrypto_a.int\digests.obj  libxmlsec_mscrypto_a.int\symkeys.obj
libxmlsec_mscrypto_a.int\kt_rsa.obj  libxmlsec_mscrypto_a.int\strings.obj
libxmlsec_mscrypto_a.int\signatures.obj  l
ibxmlsec_mscrypto_a.int\certkeys.obj  libxmlsec_mscrypto_a.int\keysstore.obj
libxmlsec_mscrypto_a.int\x509.obj  libxmlsec_mscrypto_a.int\x509vfy.obj
        if not exist apps_a.int mkdir apps_a.int
        if not exist libxmlsec_a.int mkdir libxmlsec_a.int
        cl.exe /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC"
/nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_REENTRANT"  /W1 /MD /I..
/I..\include /IC:\XMLSec\xmlsec1-1.2.
13\include /D PACKAGE=\"xmlsec\" /D "HAVE_STDIO_H" /D "HAVE_STDLIB_H" /D
"HAVE_STRING_H" /D "HAVE_CTYPE_H" /D "HAVE_MALLOC_H" /D "HAVE_MEMORY_H" /D
"NDEBUG" /O2 /DXMLSEC_MSCRYPTO_NT4=1
/D LTDL_OBJDIR=\"\" /D LTDL_SHLIB_EXT=\".dll\" /Folibxmlsec_a.int\ /c
..\src\app.c ..\src\base64.c ..\src\bn.c ..\src\buffer.c ..\src\c14n.c
..\src\dl.c ..\src\enveloped.c ..\src\errors
.c ..\src\io.c ..\src\keyinfo.c ..\src\keys.c ..\src\keysdata.c
..\src\keysmngr.c ..\src\list.c ..\src\membuf.c ..\src\nodeset.c
..\src\parser.c ..\src\soap.c ..\src\strings.c ..\src\te
mplates.c ..\src\transforms.c ..\src\x509.c ..\src\xkms.c ..\src\xmldsig.c
..\src\xmlenc.c ..\src\xmlsec.c ..\src\xmltree.c ..\src\xpath.c
..\src\xslt.c ..\src\xmlsec-ltdl.c
app.c
base64.c
bn.c
buffer.c
c14n.c
dl.c
enveloped.c
errors.c
io.c
keyinfo.c
keys.c
keysdata.c
keysmngr.c
list.c
membuf.c
nodeset.c
parser.c
soap.c
strings.c
templates.c
Generating Code...
Compiling...
transforms.c
x509.c
xkms.c
xmldsig.c
xmlenc.c
xmlsec.c
xmltree.c
xpath.c
xslt.c
xmlsec-ltdl.c
..\src\xmlsec-ltdl.c(289) : warning C4090: 'function' : different 'const'
qualifiers
..\src\xmlsec-ltdl.c(805) : warning C4090: '=' : different 'const'
qualifiers
..\src\xmlsec-ltdl.c(907) : warning C4113: 'xmlsec_lt_module (__cdecl *)()'
differs in parameter lists from 'xmlsec_lt_module_open (__cdecl *)'
..\src\xmlsec-ltdl.c(907) : warning C4113: 'int (__cdecl *)()' differs in
parameter lists from 'xmlsec_lt_module_close (__cdecl *)'
..\src\xmlsec-ltdl.c(907) : warning C4113: 'void *(__cdecl *)()' differs in
parameter lists from 'xmlsec_lt_find_sym (__cdecl *)'
..\src\xmlsec-ltdl.c(1255) : warning C4113: 'xmlsec_lt_module (__cdecl *)()'
differs in parameter lists from 'xmlsec_lt_module_open (__cdecl *)'
..\src\xmlsec-ltdl.c(1255) : warning C4113: 'int (__cdecl *)()' differs in
parameter lists from 'xmlsec_lt_module_close (__cdecl *)'
..\src\xmlsec-ltdl.c(1255) : warning C4113: 'void *(__cdecl *)()' differs in
parameter lists from 'xmlsec_lt_find_sym (__cdecl *)'
..\src\xmlsec-ltdl.c(1255) : warning C4113: 'int (__cdecl *)()' differs in
parameter lists from 'xmlsec_lt_dlloader_exit (__cdecl *)'
..\src\xmlsec-ltdl.c(1632) : warning C4090: '=' : different 'const'
qualifiers
..\src\xmlsec-ltdl.c(1680) : warning C4090: '=' : different 'const'
qualifiers
..\src\xmlsec-ltdl.c(2053) : warning C4090: '=' : different 'const'
qualifiers
..\src\xmlsec-ltdl.c(2238) : warning C4090: '=' : different 'const'
qualifiers
Generating Code...
        link.exe /lib /nologo /OUT:binaries\libxmlsec_a.lib
libxmlsec_a.int\app.obj
libxmlsec_a.int\base64.obj libxmlsec_a.int\bn.obj libxmlsec_a.int\buffer.obj
libxmlsec_a.int\c14n.ob
j  libxmlsec_a.int\dl.obj  libxmlsec_a.int\enveloped.obj
libxmlsec_a.int\errors.obj
libxmlsec_a.int\io.obj  libxmlsec_a.int\keyinfo.obj  libxmlsec_a.int\keys.obj
libxmlsec_a.int\keys
data.obj  libxmlsec_a.int\keysmngr.obj  libxmlsec_a.int\list.obj
libxmlsec_a.int\membuf.obj  libxmlsec_a.int\nodeset.obj
libxmlsec_a.int\parser.obj
libxmlsec_a.int\soap.obj  libxmlse
c_a.int\strings.obj  libxmlsec_a.int\templates.obj
libxmlsec_a.int\transforms.obj
libxmlsec_a.int\x509.obj  libxmlsec_a.int\xkms.obj
libxmlsec_a.int\xmldsig.obj
libxmlsec_a.int\xmle
nc.obj  libxmlsec_a.int\xmlsec.obj  libxmlsec_a.int\xmltree.obj
libxmlsec_a.int\xpath.obj  libxmlsec_a.int\xslt.obj libxmlsec_a.int
\xmlsec-ltdl.obj
        cl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_REENTRANT"
/W1 /MD /I.. /I..\include /IC:\XMLSec\xmlsec1-1.2.13\include /D
PACKAGE=\"xmlsec\" /D "HAVE_STDIO_H" /D "HAVE
_STDLIB_H" /D "HAVE_STRING_H" /D "HAVE_CTYPE_H" /D "HAVE_MALLOC_H" /D
"HAVE_MEMORY_H" /D "NDEBUG" /O2 /DXMLSEC_MSCRYPTO_NT4=1 /D LTDL_OBJDIR=\"\"
/D LTDL_SHLIB_EXT=\".dll\" /D "XMLSEC_C
RYPTO=\""mscrypto"\"" /D "XMLSEC_CRYPTO_DYNAMIC_LOADING" /Foapps.int\ /c
..\apps\crypto.c ..\apps\cmdline.c ..\apps\xmlsec.c
crypto.c
cmdline.c
xmlsec.c
Generating Code...
        link.exe /nologo /LIBPATH:binaries
/LIBPATH:C:\XMLSec\xmlsec1-1.2.13\lib /OPT:NOWIN98 /OUT:binaries\xmlsec.exe
libxmlsec.lib libxmlsec-mscrypto.lib  libxml2.lib libxslt.lib kern
el32.lib user32.lib gdi32.lib Crypt32.lib Advapi32.lib apps.int\crypto.obj
apps.int\cmdline.obj apps.int\xmlsec.obj

C:\XMLSec\xmlsec1-1.2.13\win32>



On Sat, Jun 18, 2011 at 5:00 PM, EdShallow <ed.shallow at gmail.com> wrote:

> The funny thing is all version prior to 1.2.15 had no Unicode and it worked
> fine. In fact I compiled 1.2.18 with the Unicode=no option because of the
> unresolved external reference problems with the strcpy_s function.
>
> I am going to compile the 1.2.13 source and compare what happens versus
> using Igor's binaries. This will prove whether my compile and link is
> introducing the problem.
>
> I will then gradually compile 1.2.14 and then 1.2.15 and then 1.2.16 and
> then 1.2.17 until I see when the problem was first introduced.
>
> Ed
>
>
> On Sat, Jun 18, 2011 at 3:19 PM, Aleksey Sanin <aleksey at aleksey.com>wrote:
>
>> **
>> Ed,
>>
>> It is hard for me to give advice on Windows but I recall one of the big
>> changes
>> between releases was Unicode support. I am not sure how you compiled the
>> library
>> but it is strongly recommended to use Unicode support.
>>
>> Obviously, the error indicates that we can't find a key in MSCrypto
>> storage. You are
>> loading it by name and I can easily see a problem with Unicode there. Try
>> to debug it
>> and watch the key name passed to MSCrypto.
>>
>> Aleksey
>>
>>
>> On 6/18/11 10:59 AM, EdShallow wrote:
>>
>> Hi Aleksey,
>>
>>      The template below work fine with 1.2.13 xmlsec command line on the
>> same machine and the same crypto keys using all Igor's 1.2.13 binaries.
>>
>>      I kept everything the same except I compiled your 1.2.18 .... all
>> clean. I spoke with you yesterday about this. I am using VC7.1 with
>> msvcr71.dll and Igor's includes, libs, and binaries for libxml, libxslt.
>>
>>     This signing template works at the command line with Igor's 1.2.13
>> binaries but does not work with my compiled 1.2.18 dll's.
>> Igor has not updated his binaries for a very long time. He is still at
>> 1.2.13 and I need your new mscrypto algorithms introduced in 1.2.15
>>
>> Any suggestions for me to try ?
>>
>> Thanks,
>> Ed
>>
>> Template as follows:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!--
>> Signature created by XMLDSIG Engine and XMLSec Lib V1.2.18
>> -->
>> <Document>
>>     <Data>
>>         <SubData1>
>>             <SubSubData1 MimeType="text/plain">This is the data to be
>> signed.</SubSubData1>
>>             <SubSubData2 MimeType="text/plain">This is the data to be
>> signed.</SubSubData2>
>>             <SubSubData3 MimeType="text/plain">This is the data to be
>> signed.</SubSubData3>
>>         </SubData1>
>>         <SubData2>This is the data to be signed.</SubData2>
>>         <SubData3>This is the data to be signed.</SubData3>
>>     </Data>
>>     <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
>>         <dsig:SignedInfo>
>>             <dsig:CanonicalizationMethod Algorithm="
>> http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
>>             <dsig:SignatureMethod Algorithm="
>> http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
>>                 <dsig:Reference URI="">
>>                     <dsig:Transforms>
>>                         <dsig:Transform Algorithm="
>> http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
>>                     </dsig:Transforms>
>>                     <dsig:DigestMethod Algorithm="
>> http://www.w3.org/2000/09/xmldsig#sha1"/>
>>                     <dsig:DigestValue></dsig:DigestValue>
>>                 </dsig:Reference>
>>         </dsig:SignedInfo>
>>         <dsig:SignatureValue></dsig:SignatureValue>
>>         <dsig:KeyInfo>
>>             <dsig:KeyName>Shallow, Ed</dsig:KeyName>
>>
>> <dsig:X509Data><dsig:X509Certificate/><dsig:X509SubjectName/><dsig:X509IssuerSerial/>
>>             </dsig:X509Data>
>>         </dsig:KeyInfo>
>>     </dsig:Signature>
>> </Document>
>>
>> Output from command line tool as follows:
>>
>> C:\XMLSec>xmlsec sign --crypto mscrypto --output
>> inout/edsigned-enveloped.xml tmpl/tmpl-EPM-sign-enveloped.xml
>> func=xmlSecKeysMngrGetKey:file=..\src\keys.c:line=1370:obj=unknown:subj=xmlSecKeysMngrFindKey:error=1:xmlsec
>> library function failed: ;last error=-2146885628 (0x80092004);
>> last error
>> msg=func=xmlSecDSigCtxProcessKeyInfoNode:file=..\src\xmldsig.c:line=871:obj=unknown:subj=unknown:error=45:key
>> is not found: ;last error=-2146885628 (0x80092004);last error
>> msg=func=xmlSecDSigCtxProcessSignatureNode:file=..\src\xmldsig.c:line=565:obj=unknown:subj=xmlSecDSigCtxProcessKeyInfoNode:error=1:xmlsec
>> library function failed: ;last error=-2146885628 (0x80092004);last error
>> msg=
>> func=xmlSecDSigCtxSign:file=..\src\xmldsig.c:line=303:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec
>> library function failed: ;last error=-2146885628 (0x80092004);last error
>> msg=
>> Error: signature failed
>> Error: failed to sign file "tmpl/tmpl-EPM-sign-enveloped.xml"
>>
>> Suggestions ?
>>
>> --
>> Ed's Contact Information:
>> Mobile Phone: 613-852-6410
>> Gmail: ed.shallow at gmail.com
>> VOIP Address: 107529 at sip.ca1.voip.ms
>> VOIP DID#: 613-458-5004
>> Skype ID: edward.shallow
>> Home Phone: 613-482-2090
>>
>>
>> _______________________________________________
>> xmlsec mailing listxmlsec at aleksey.comhttp://www.aleksey.com/mailman/listinfo/xmlsec
>>
>>
>
>
> --
> Ed's Contact Information:
> Mobile Phone: 613-852-6410
> Gmail: ed.shallow at gmail.com
> VOIP Address: 107529 at sip.ca1.voip.ms
> VOIP DID#: 613-458-5004
> Skype ID: edward.shallow
> Home Phone: 613-482-2090
>
>


-- 
Ed's Contact Information:
Mobile Phone: 613-852-6410
Gmail: ed.shallow at gmail.com
VOIP Address: 107529 at sip.ca1.voip.ms
VOIP DID#: 613-458-5004
Skype ID: edward.shallow
Home Phone: 613-482-2090
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20110618/160e4300/attachment-0001.html>


More information about the xmlsec mailing list