python-pkcs11
python-pkcs11 copied to clipboard
PKCS#11/Cryptoki support for Python
I would appreciate a little guidance on the smart/correct way to get an object pointing to a previously generated key. The documentation shows how to generate or import a key...
https://github.com/danni/python-pkcs11/blob/e35e6c45e3dcaaa1511262121ff4ab6769de941e/docs/applied.rst?plain=1#LL367C32-L367C42 Should be `Storing keys requires a read/write session.` instead because: 1. When a session is opened as `read only` I get the following exception when generating a key with...
I have the following python script: ``` #! /usr/bin/env python3 import os import pkcs11 from Crypto.Hash import SHA256 from Crypto.PublicKey import ECC from Crypto.Signature import DSS from pkcs11 import KeyType,...
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm...
The KeyType should be EC_EDWARDS for Ed25519 Fixes: ``` BotanECDSA.cpp(301): ECDSA key generation failed ``` i.e. SoftHSM goes into `BotanECDSA.cpp` instead of `BotanEDDSA.cpp` where 1.3.101.112 is handled
Please help me out how to use this import X.509v3 Digital Certificate. I have tried with pkcs11 utils.
Return value in bytes if the attribute is not currently handled + add object dictionary for printing
Hey, I would like to propose a fix to an information loss. Sometimes, the library does not know, how to "unpack" certain attributes. I think it would be great to...
Hello, There are errors in file _pkcs11.pyx that lead to a wrong behavior of the module. In class: cdef class MechanismWithParam under the tag "# Unpack mechanism parameters". Please change...
Fixes: ``` BotanDH.cpp(264): Failed to generate 512 bit DH parameters: DL_Group: prime size 512 is too small ``` Neeed for botan 1.11.22 and later
Also update docs to match Fixes: ``` CryptographyDeprecationWarning: Curve argument must be an instance of an EllipticCurve class. ```