python-pkcs11
python-pkcs11 copied to clipboard
Add an example for dealing with DATA objects to the readme
Just a proposal; I guess you might want to keep the documentation focused on dealing with public key crypto. Maybe it's time to make an example directory for the more obscure example scripts? I don't see a straightforward way to add tests for this, as I don't own any of the devices that you are targeting. It'll be a while before I can test with a standard card or token. This ObjectClass.DATA stuff is coming from me because I'm in the progress of writing a fuse fs driver capable of mounting a pkcs11 smartcard with the goal of storing zfs disk encryption keys on there.
I don't think I'd add this to the documentation, but it could be added to a test, even if that targets only your pkcs#11 implementation.