Skip to content
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

Add compatibility with xmlsec 1.3 #264

Merged
merged 3 commits into from
Feb 25, 2024

Conversation

neruson
Copy link
Contributor

@neruson neruson commented Sep 16, 2023

Minimal changeset to allow unit tests to pass on both xmlsec 1.2 and 1.3.

This includes disabling the key search strict mode that 1.3 enabled by default, since encrypt/decrypt tests fail without it. In the future, it probably makes sense to enable strict mode by default and provide a method to disable it, but I'm not confident enough in my C skills to build it myself, sorry.

Fixes #254

@neruson neruson marked this pull request as ready for review September 16, 2023 02:41
@neruson
Copy link
Contributor Author

neruson commented Oct 5, 2023

@hoefling Would you be the right person to ask regarding running GitHub workflows and getting feedback on this PR?

@akx
Copy link

akx commented Nov 5, 2023

I can confirm that this PR builds fine on an Apple Silicon machine, and works (at least for my use case, signing SOAP requests).

@jimjag
Copy link
Collaborator

jimjag commented Nov 27, 2023

Can we please fold this in? This has been an issue for quite awhile and the suggested "work-arounds" are no longer feasible.

This was referenced Nov 28, 2023
@brianmego
Copy link

On my x86_64 linux machine, I get the following results

libxmlsec versions:
1.3.1: Success
1.3.2: Success
1.2.37: Failure
1.2.38 Failure

For the failures:
ImportError: .../.env/lib/python3.11/site-packages/xmlsec.cpython-311-x86_64-linux-gnu.so: undefined symbol: xmlSeckeyDataEcGetKlass

@bgaifullin bgaifullin merged commit e641ac7 into xmlsec:master Feb 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to (pip install xmlsec) since brew version 4.0.13
7 participants