Skip to content

Conversation

@MatthiasValvekens
Copy link
Collaborator

I've been doing some experiments to try and remove the limitation that prevents multiple PKCS#11 modules from being loaded at once, and I noticed an unfortunate regression in the library loading handler on POSIX systems. #202 introduced an incorrect call to PyMem_Free() in there.

I've fixed it, added a test, and also added some more safeguards against error message decoding issues. We might have push out a bugfix release to address this, though, since it'll in particular cause segfaults when trying to load nonexistent libs.

Sorry about that :/

@MatthiasValvekens MatthiasValvekens merged commit a7e0505 into pyauth:master Jun 22, 2025
16 checks passed
@MatthiasValvekens
Copy link
Collaborator Author

I kicked off the release flow for v0.8.1.

@kislyuk
Copy link
Member

kislyuk commented Jun 22, 2025

@MatthiasValvekens I have added you as a deployment reviewer (release manager). You should now be able to approve PyPI release GHA runs if you need to push a release when I'm not available.

@MatthiasValvekens
Copy link
Collaborator Author

Thanks!

@MatthiasValvekens MatthiasValvekens deleted the bugfix/p11-error-bug branch July 31, 2025 17:24
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.

2 participants