[xmlsec] nss crypto and test suite

Edward Shallow ed.shallow at rogers.com
Sun Sep 18 11:17:40 PDT 2005


Hi Aleksey,

Trying out nss crypto after much success with openssl. nss tests from
the install worked fine, yet when I try to run testDSig.sh it works for
openssl but not for nss.


Here is nss run ...

--- testDSig started for xmlsec-nss library (20050918_134319)
--- LD_LIBRARY_PATH=
Test: /aleksey-xmldsig-01/enveloping-dsa-x509chain
xmlsec1 verify  --crypto nss --crypto-config /tmp/xmlsec-crypto-config
--trusted-pem /usr/local/src/xmlsec1-1.2.9/tests/keys/cacert.pem
--enabled-key-data
x509 /usr/local/src/xmlsec1-1.2.9/tests/aleksey-xmldsig-01/enveloping-dsa-x509chain.xml
func=xmlSecNssAppInit:file=app.c:line=76:obj=unknown:subj=NSS_InitReadWrite:error=4:crypto library function failed:config=/tmp/xmlsec-crypto-config
func=xmlSecAppCryptoInit:file=crypto.c:line=26:obj=unknown:subj=xmlSecCryptoAppInit:error=1:xmlsec library function failed: 
Error: xmlsec crypto intialization failed.
Error: initialization faile


Here is openssl run ... 

--- testDSig started for xmlsec-openssl library (20050918_134200)
--- LD_LIBRARY_PATH=
Test: /aleksey-xmldsig-01/enveloping-dsa-x509chain
xmlsec1 verify  --crypto openssl
--crypto-config /tmp/xmlsec-crypto-config
--trusted-pem /usr/local/src/xmlsec1-1.2.9/tests/keys/cacert.pem
--enabled-key-data
x509 /usr/local/src/xmlsec1-1.2.9/tests/aleksey-xmldsig-01/enveloping-dsa-x509chain.xml
OK
SignedInfo References (ok/all): 1/1
Manifests References (ok/all): 0/0

Thought it was unset LD-LIBRARY_PATH, but it works fine that way for
openssl.

Thanks,
Ed



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1617 bytes
Desc: not available
Url : http://www.aleksey.com/pipermail/xmlsec/attachments/20050918/254d4f91/smime-0002.bin


More information about the xmlsec mailing list