[xmlsec] Encrypt and Decrypt
Aleksey Sanin
aleksey@aleksey.com
Sat, 25 Jan 2003 20:40:11 -0800
Hi, Doug!
One of the warnings (about key origin) you get during encryption could
be safely
ignored and another one (doc != NULL) was already fixed in CVS but it also
should not cause problems. Bottom line, you should have valid encrypted
document on stdout as the result.
However, decryption fails because decrypted session DES key is NULL.
The big surprise to me is that you could not decrypted the test.xml file
from
the package as well. I am really puzzled.
Can you please run 'make check' in the top level xmlsec folder, please?
It will be
great to do this when xmlsec is compiled with OpenSSL 0.9.7 because
0.9.6 misses
some features and half of test will fail because of it. The expected
results are:
OK for positive tests and FAIL for negative tests. If it's not the case
then I would
suspect libraries mismatch. Check 'xmlsec-config --cflags' and
'xmlsec-config --libs'
output and make sure that it matches your expectation (especially about
OpenSSL!).
Thanks,
Aleksey