python-pkcs11
python-pkcs11 copied to clipboard
Add token and pin initialization
Adding implementations and tests for C_InitToken and C_InitPIN
Happens to also solve: https://github.com/danni/python-pkcs11/issues/6
I wrote this casually for personal use and am not super familiar with extending Python with C, so please don't hesitate to comment if there are better ways to do certain things.