[xmlsec] xmlsec 1.1.12 and openssl 1.1.0-dev

Roumen Petrov xmlsec at roumenpetrov.info
Thu Aug 6 11:07:21 PDT 2009


Hi Aleksey,

Build of version 1.1.12 with upcoming openssl version 1.1.0 fail with
following errors and warnings:
/bin/sh ../../libtool --tag=CC   --mode=compile i486-mingw32-gcc
-DHAVE_CONFIG_H -I. -I<SRCROOT>/xmlsec1-1.2.12/src/openssl -I../..
-DPACKAGE=\"xmlsec1\" -I../../include -I<SRCROOT>/xmlsec1-1.2.12/include
-D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1
-I<MINGWROOT>/include -DXMLSEC_OPENSSL_098=1 -DXMLSEC_CRYPTO_OPENSSL=1
-I<MINGWROOT>/include -I<MINGWROOT>/include/libxml2
-I<MINGWROOT>/include/libxml2 -I<MINGWROOT>/include    -O2
-fno-strict-aliasing -Wall -MT libxmlsec1_openssl_la-x509vfy.lo -MD -MP
-MF .deps/libxmlsec1_openssl_la-x509vfy.Tpo -c -o
libxmlsec1_openssl_la-x509vfy.lo `test -f 'x509vfy.c' || echo
'<SRCROOT>/xmlsec1-1.2.12/src/openssl/'`x509vfy.c
   i486-mingw32-gcc -DHAVE_CONFIG_H -I.
-I<SRCROOT>/xmlsec1-1.2.12/src/openssl -I../.. -DPACKAGE=\"xmlsec1\"
-I../../include -I<SRCROOT>/xmlsec1-1.2.12/include
-D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1
-I<MINGWROOT>/include -DXMLSEC_OPENSSL_098=1 -DXMLSEC_CRYPTO_OPENSSL=1
-I<MINGWROOT>/include -I<MINGWROOT>/include/libxml2
-I<MINGWROOT>/include/libxml2 -I<MINGWROOT>/include -O2
-fno-strict-aliasing -Wall -MT libxmlsec1_openssl_la-x509vfy.lo -MD -MP
-MF .deps/libxmlsec1_openssl_la-x509vfy.Tpo -c
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c  -DDLL_EXPORT -DPIC -o
.libs/libxmlsec1_openssl_la-x509vfy.o
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c: In function
'xmlSecOpenSSLX509StoreVerify':
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:221: warning: assignment
from incompatible pointer type
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:231: warning: pointer
type mismatch in conditional expression
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:232: warning: pointer
type mismatch in conditional expression
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:236: warning: pointer
type mismatch in conditional expression
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:236: warning: value
computed is not used
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:253: warning: passing
argument 1 of 'xmlSecOpenSSLX509VerifyCertAgainstCrls' from incompatible
pointer type
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:98: note: expected
'struct stack_st_X509_CRL *' but argument is of type 'struct
stack_st_X509_CRLS *'
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:255: warning: value
computed is not used
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:270: warning: value
computed is not used
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:422: warning: pointer
type mismatch in conditional expression
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c: In function
'xmlSecOpenSSLX509FindCert':
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:805: error: 'struct
stack_st_X509' has no member named 'num'
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:806: error: 'struct
stack_st_X509' has no member named 'data'
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:866: error: 'struct
stack_st_X509' has no member named 'num'
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:867: error: 'struct
stack_st_X509' has no member named 'data'
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:898: error: 'struct
stack_st_X509' has no member named 'num'
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:899: error: 'struct
stack_st_X509' has no member named 'data'
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c: In function
'xmlSecOpenSSLX509VerifyCertAgainstCrls':
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:985: warning: passing
argument 1 of 'sk_num' from incompatible pointer type
<MINGWROOT>/include/openssl/stack.h:79: note: expected 'const struct
_STACK *' but argument is of type 'struct stack_st_X509_REVOKED *'
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:987: warning: passing
argument 1 of 'sk_value' from incompatible pointer type
<MINGWROOT>/include/openssl/stack.h:80: note: expected 'const struct
_STACK *' but argument is of type 'struct stack_st_X509_REVOKED *'
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c: In function
'xmlSecOpenSSLX509NamesCompare':
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:1246: warning: pointer
type mismatch in conditional expression
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:1246: warning: value
computed is not used
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:1248: warning: pointer
type mismatch in conditional expression
<SRCROOT>/xmlsec1-1.2.12/src/openssl/x509vfy.c:1248: warning: value
computed is not used
make: *** [libxmlsec1_openssl_la-x509vfy.lo] Error 1

The above output is from cross-compiler  "i486-mingw32-gcc (GCC) 4.4.0".

The attached file "xmlsec1-1.2.12.patch" fixed the build issue - errors
and some but not all warnings related to STACK.


Test cases (native, linux build) for Keys and DSig pass but Enc fail
with segmentation fail. The test terminal output is attached as file
"xmlsec1-1.2.12-openssl.log". OpenSSL pass its tests.

Regards,
Roumen


-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmlsec1-1.2.12.patch
Type: text/x-diff
Size: 2479 bytes
Desc: not available
Url : http://www.aleksey.com/pipermail/xmlsec/attachments/20090806/5ffb2b43/xmlsec1-1.2.12-0001.bin
-------------- next part --------------
=================== Checking xmlsec-openssl =================================
--- testKeys started for xmlsec-openssl library (20090806_....) ---
--- LD_LIBRARY_PATH=<BUILDDIR>/src/openssl/.libs
--- log file is /tmp/testKeys.20090806....
    Checking hmac key data presense                         OK
    Creating new key: hmac-192                              OK
    Checking rsa  key data presense                         OK
    Creating new key: rsa-1024                              OK
    Checking dsa  key data presense                         OK
    Creating new key: dsa-1024                              OK
    Checking des  key data presense                         OK
    Creating new key: des-192                               OK
    Checking aes  key data presense                         OK
    Creating new key: aes-128                               OK
    Checking aes  key data presense                         OK
    Creating new key: aes-192                               OK
    Checking aes  key data presense                         OK
    Creating new key: aes-256                               OK
--- testKeys finished ---
--- detailed log is written to  /tmp/testKeys.20090806.... ---
--- testDSig started for xmlsec-openssl library (20090806_....)
--- LD_LIBRARY_PATH=<BUILDDIR>/src/openssl/.libs
--- log file is /tmp/testDSig.20090806_....
aleksey-xmldsig-01/enveloping-dsa-x509chain
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-rsa-x509chain
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-md5-hmac-md5
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-md5-hmac-md5-64
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-ripemd160-hmac-ripemd160
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-ripemd160-hmac-ripemd160-64
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/xpointer-hmac
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha1-hmac-sha1
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha1-hmac-sha1-64
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha224-hmac-sha224
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha224-hmac-sha224-64
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha256-hmac-sha256
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha256-hmac-sha256-64
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha384-hmac-sha384
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha384-hmac-sha384-64
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha512-hmac-sha512
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha512-hmac-sha512-64
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-md5-rsa-md5
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-ripemd160-rsa-ripemd160
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha1-rsa-sha1
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha224-rsa-sha224
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha256-rsa-sha256
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha384-rsa-sha384
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-sha512-rsa-sha512
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/enveloping-expired-cert
    Checking required transforms                            OK
    Verify existing signature                               OK
aleksey-xmldsig-01/dtd-hmac-91
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/x509data-test
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
aleksey-xmldsig-01/x509data-sn-test
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-enveloped-dsa
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-enveloping-dsa
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-enveloping-b64-dsa
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1-40
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-enveloping-rsa
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-external-b64-dsa
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-external-dsa
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-keyname
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-x509-crt
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-x509-sn
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-x509-is
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-x509-ski
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature-retrievalmethod-rawx509crt
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmldsig-twenty-three/signature
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmlenc-five/encsig-ripemd160-hmac-ripemd160-kw-tripledes
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-xmlenc-five/encsig-sha256-hmac-sha256-kw-aes128
    Checking required transforms                            OK
    Verify existing signature                               OK
merlin-xmlenc-five/encsig-sha384-hmac-sha384-kw-aes192
    Checking required transforms                            OK
    Verify existing signature                               OK
merlin-xmlenc-five/encsig-sha512-hmac-sha512-kw-aes256
    Checking required transforms                            OK
    Verify existing signature                               OK
merlin-exc-c14n-one/exc-signature
    Checking required transforms                            OK
    Verify existing signature                               OK
    Create new signature                                    OK
    Verify new signature                                    OK
merlin-exc-c14n-one/exc-signature
    Checking required transforms                            OK
    Verify existing signature                               OK
merlin-c14n-three/signature
    Checking required transforms                            OK
    Verify existing signature                               OK
merlin-xpath-filter2-three/sign-xfdl
    Checking required transforms                            OK
    Verify existing signature                               OK
merlin-xpath-filter2-three/sign-spec
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-big
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-dsa-detached
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-dsa-enveloped
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-dsa-enveloping
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-dsa-manifest
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-hmac-md5-c14n-enveloping
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-hmac-sha1-40-c14n-comments-detached
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-hmac-sha1-40-exclusive-c14n-comments-detached
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-hmac-sha1-exclusive-c14n-comments-detached
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-hmac-sha1-exclusive-c14n-enveloped
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-detached-b64-transform
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-detached
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-detached-xpath-transform
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-detached-xslt-transform-retrieval-method
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-detached-xslt-transform
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-enveloped
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-enveloping
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-manifest-x509-data-cert-chain
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-manifest-x509-data-cert
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-manifest-x509-data-issuer-serial
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-manifest-x509-data-ski
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-manifest-x509-data-subject-name
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-manifest
    Checking required transforms                            OK
    Verify existing signature                               OK
phaos-xmldsig-three/signature-rsa-xpath-transform-enveloped
    Checking required transforms                            OK
    Verify existing signature                               OK
Dynamic signature template
    Create new signature                                    OK
    Verify new signature                                    OK
--------- These tests CAN FAIL (extra OS config required) ----------
aleksey-xmldsig-01/enveloped-gost
    Checking required transforms                          Skip
--------- Negative Testing: next test MUST FAIL ----------
merlin-xmldsig-twenty-three/signature-x509-crt-crl
    Checking required transforms                            OK
    Verify existing signature                             Fail
aleksey-xmldsig-01/enveloping-expired-cert
    Checking required transforms                            OK
    Verify existing signature                             Fail
aleksey-xmldsig-01/dtd-hmac-91
    Checking required transforms                            OK
    Verify existing signature                             Fail
phaos-xmldsig-three/signature-rsa-detached-xslt-transform-bad-retrieval-method
    Checking required transforms                            OK
    Verify existing signature                             Fail
phaos-xmldsig-three/signature-rsa-enveloped-bad-digest-val
    Checking required transforms                            OK
    Verify existing signature                             Fail
phaos-xmldsig-three/signature-rsa-enveloped-bad-sig
    Checking required transforms                            OK
    Verify existing signature                             Fail
phaos-xmldsig-three/signature-rsa-manifest-x509-data-crl
    Checking required transforms                            OK
    Verify existing signature                             Fail
--- testDSig finished
--- detailed log is written to  /tmp/testDSig.20090806_....
--- testEnc started for xmlsec-openssl library (20090806_....)
--- LD_LIBRARY_PATH=<BUILDDIR>/src/openssl/.libs
--- log file is /tmp/testEnc.20090806_....
aleksey-xmlenc-01/enc-des3cbc-keyname
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
aleksey-xmlenc-01/enc-des3cbc-keyname2
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
aleksey-xmlenc-01/enc-aes128cbc-keyname
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
aleksey-xmlenc-01/enc-aes192cbc-keyname
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
aleksey-xmlenc-01/enc-aes192cbc-keyname-ref
    Checking required transforms                            OK
    Decrypt existing document                               OK
aleksey-xmlenc-01/enc-aes256cbc-keyname
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
aleksey-xmlenc-01/enc-des3cbc-keyname-content
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
aleksey-xmlenc-01/enc-des3cbc-keyname-element
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
aleksey-xmlenc-01/enc-des3cbc-keyname-element-root
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
aleksey-xmlenc-01/enc-des3cbc-aes192-keyname
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
merlin-xmlenc-five/encrypt-data-aes128-cbc
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
merlin-xmlenc-five/encrypt-content-tripledes-cbc
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
merlin-xmlenc-five/encrypt-content-aes256-cbc-prop
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
merlin-xmlenc-five/encrypt-element-aes192-cbc-ref
    Checking required transforms                            OK
    Decrypt existing document                               OK
merlin-xmlenc-five/encrypt-element-aes128-cbc-rsa-1_5
    Checking required transforms                            OK
    Decrypt existing document                            ./tests/testEnc.sh: line 58: 16997 Segmentation fault      $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $file.xml >$tmpfile 2>>$logfile
 Error
    Encrypt document                                     ./tests/testEnc.sh: line 58: 17022 Segmentation fault      $VALGRIND $xmlsec_app encrypt $xmlsec_params $params2 --output $tmpfile $file.tmpl >>$logfile 2>>$logfile
 Fail
merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p
    Checking required transforms                            OK
    Decrypt existing document                            ./tests/testEnc.sh: line 58: 17074 Segmentation fault      $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $file.xml >$tmpfile 2>>$logfile
 Error
    Encrypt document                                     ./tests/testEnc.sh: line 58: 17106 Segmentation fault      $VALGRIND $xmlsec_app encrypt $xmlsec_params $params2 --output $tmpfile $file.tmpl >>$logfile 2>>$logfile
 Fail
merlin-xmlenc-five/encrypt-data-aes256-cbc-kw-tripledes
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
merlin-xmlenc-five/encrypt-content-aes128-cbc-kw-aes192
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
merlin-xmlenc-five/encrypt-data-aes192-cbc-kw-aes256
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
merlin-xmlenc-five/encrypt-element-tripledes-cbc-kw-aes128
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
merlin-xmlenc-five/encrypt-element-aes256-cbc-retrieved-kw-aes256
    Checking required transforms                            OK
    Decrypt existing document                               OK
01-phaos-xmlenc-3/enc-element-3des-kt-rsa1_5
    Checking required transforms                            OK
    Decrypt existing document                            ./tests/testEnc.sh: line 58: 17447 Segmentation fault      $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $file.xml >$tmpfile 2>>$logfile
 Error
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-element-3des-kt-rsa_oaep_sha1
    Checking required transforms                            OK
    Decrypt existing document                            ./tests/testEnc.sh: line 58: 17542 Segmentation fault      $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $file.xml >$tmpfile 2>>$logfile
 Error
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-element-aes128-kt-rsa1_5
    Checking required transforms                            OK
    Decrypt existing document                            ./tests/testEnc.sh: line 58: 17631 Segmentation fault      $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $file.xml >$tmpfile 2>>$logfile
 Error
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-element-aes128-kt-rsa_oaep_sha1
    Checking required transforms                            OK
    Decrypt existing document                            ./tests/testEnc.sh: line 58: 17727 Segmentation fault      $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $file.xml >$tmpfile 2>>$logfile
 Error
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-element-aes192-kt-rsa_oaep_sha1
    Checking required transforms                            OK
    Decrypt existing document                            ./tests/testEnc.sh: line 58: 17821 Segmentation fault      $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $file.xml >$tmpfile 2>>$logfile
 Error
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-text-aes192-kt-rsa1_5
    Checking required transforms                            OK
    Decrypt existing document                            ./tests/testEnc.sh: line 58: 17919 Segmentation fault      $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $file.xml >$tmpfile 2>>$logfile
 Error
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-content-aes256-kt-rsa1_5
    Checking required transforms                            OK
    Decrypt existing document                            ./tests/testEnc.sh: line 58: 18017 Segmentation fault      $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $file.xml >$tmpfile 2>>$logfile
 Error
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-text-aes256-kt-rsa_oaep_sha1
    Checking required transforms                            OK
    Decrypt existing document                            ./tests/testEnc.sh: line 58: 18098 Segmentation fault      $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $file.xml >$tmpfile 2>>$logfile
 Error
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-element-3des-kw-3des
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-content-aes128-kw-3des
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-element-aes128-kw-aes128
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-element-aes128-kw-aes256
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-content-3des-kw-aes192
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-content-aes192-kw-aes256
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-element-aes192-kw-aes192
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-element-aes256-kw-aes256
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-text-3des-kw-aes256
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
01-phaos-xmlenc-3/enc-text-aes128-kw-aes192
    Checking required transforms                            OK
    Decrypt existing document                               OK
    Encrypt document                                        OK
Dynamic encryption template
    Encrypt template                                        OK
    Decrypt document                                        OK
--------- Negative Testing: Following tests MUST FAIL ----------
--- detailed log is written to  /tmp/testEnc.20090806_....
01-phaos-xmlenc-3/bad-alg-enc-element-aes128-kw-3des
    Decrypt existing document                             Error
aleksey-xmlenc-01/enc-aes192cbc-keyname-ref
    Decrypt existing document                             Error
01-phaos-xmlenc-3/enc-content-aes256-kt-rsa1_5
    Decrypt existing document                             Error
--- testEnc finished
--- detailed log is written to  /tmp/testEnc.20090806_....


More information about the xmlsec mailing list