python-pkcs11
python-pkcs11 copied to clipboard
PKCS#11/Cryptoki support for Python
Related issue: https://github.com/cython/cython/issues/4927 ``` pip install python-pkcs11 ``` Results in: ``` pkcs11/_pkcs11.c:45689:20: error: lvalue required as left operand of assignment 45689 | CYTHON_ATOMICS = __Pyx_PyObject_IsTrue(o); if (unlikely((CYTHON_ATOMICS == (int)-1) &&...
Fixes #133 and provides support for automatic installation using "pip install python-pkcs11" in Python 3.10. Tested on Windows 11, multiple conda virtual env.
When installing using `pip install python-pkcs11` or `pip install git+https://github.com/danni/python-pkcs11`, I get the following error: `TypeError: can only concatenate tuple (not "list") to tuple` I've tried to install the package...
Use list instead of tuple. Fixes: #133 Reference: https://github.com/danni/python-pkcs11/issues/133#issuecomment-1019577286
Adding implementations and tests for C_InitToken and C_InitPIN Happens to also solve: https://github.com/danni/python-pkcs11/issues/6
Hello, I am trying to extract from HSM token the private key and convert it to pem. RubyGems signing requires both ca_cert.pem, which I managed to extract and convert to...
Thales nCipher should be changed to Entrust nShield in the documentation. nCipher was acquired from Thales in 2019 by Entrust Datacard.
I am running in an error when I try to switch p11 libraries: exceptionpkcs11.exceptions.AlreadyInitialized pkcs11 was already initialized with another library. This exception is documented in the docs. Is there...
I am following the documentation to generate an exportable AES key, but when I use the below code snippet, I get the subsequent error stack. I am using a Luna...
I have 300 kb data, need to be signed by SHA256RSA algorithm. I read the data from a file with 'rb' option and then use this data as input for...