-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_sign_case5 fails with xmlsec 1.2.36 #244
Comments
More precisely,
|
Compiled with PYXMLSEC_ENABLE_DEBUG=1 and there is something odd logged right on the test:
Full test log: |
Could it be related to openssl 3.0 ? |
Update: this test is expected to fail in debian bookworm, since libxmlsec1 in debian bookworm is also expecting this test to fail. |
I ran into an issue with a signed document of this format, and it turns out the problem (at least in our case, and it might also be here), is that there is a spurious newline in the document at the end of the X509Certificate tag data (the close tag should be on the same line as the end of the data, not on the next line). I have no idea what is triggering this change in generation, but if you remove the newline the document is properly handled. |
I don't think so. I've verified that the test passes if the extension is built against libxmlsec 1.2.34 or older, and fails with 1.2.36 and .37. I haven't been able to test 1.2.35 since it fails to build. |
I diffed the expected and actulat xml in the test and difference is, that I will try to make change of the test expected XML depending on version of libxmlsec1. |
…bxmlsec version available from Python.
…bxmlsec version available from Python.
…bxmlsec version available from Python.
…bxmlsec version available from Python.
Disable another broken test: xmlsec/python-xmlsec#244 Switch to PEP517. git-svn-id: file:///srv/repos/svn-community/svn@1440326 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Disable another broken test: xmlsec/python-xmlsec#244 Switch to PEP517. git-svn-id: file:///srv/repos/svn-community/svn@1440326 9fca08f4-af9d-4005-b8df-a31f2cc04f65
…bxmlsec version available from Python.
…bxmlsec version available from Python.
* Added changes to enable 3.11 builds * Fix xmlsec#244 - Fix failing test with libxmlsec-1.2.36, also make libxmlsec version available from Python. * Fix xmlsec#164 - Add support for loading keys from engine (e.g. pkcs11). * Fix xmlsec#164 - Add tests for pkcs11 (softhsm) key. * [pre-commit.ci] auto fixes from pre-commit.com hooks --------- Co-authored-by: Dan Vella <dan.vella@invicti.com> Co-authored-by: Tomas Divis <tomas.divis@nic.cz> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I/usr/include/xmlsec1 -I/usr/include/libxml2
The text was updated successfully, but these errors were encountered: