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 support for CKA_MODIFIABLE and CKA_DESTROYABLE attributes #116

Merged

Conversation

fuzzykat
Copy link
Contributor

This PR improves support for CKA_COPYABLE and CKA_MODIFIABLE attributes. These attributes were technically available in PyKCS11, but weren't handled properly as bool values.

By the way, one of the problems was the absence of attributes' definition in your pkcs11.h file; this is apparently because of the old (2.20) PKCS#11 specification this file originates from. And since, PyKCS11 supports some mechanisms from newer PKCS#11 specification (e.g. CKM_AES_GCM), I'd consider upgrading to a new version of the PKCS#11 headers.

@LudovicRousseau LudovicRousseau merged commit 47365e7 into LudovicRousseau:master May 24, 2024
15 checks passed
@LudovicRousseau
Copy link
Owner

Thanks

@fuzzykat fuzzykat deleted the feature/bool_attributes branch July 6, 2024 06:20
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