pyauth / python-pkcs11

PKCS#11/Cryptoki support for Python
MIT License
150 stars 71 forks source link

get_objects() fails with missing enum value #172

Open msetina opened 8 months ago

msetina commented 8 months ago

listing objects in session on Slovenian EOI raises exception: ValueError: 9 is not a valid ObjectClass

msetina commented 8 months ago

Found the missing one in OpenSC code:

define CKO_PROFILE (9UL)

msetina commented 8 months ago

173 fixes the issue