python-pkcs11 icon indicating copy to clipboard operation
python-pkcs11 copied to clipboard

Return value in bytes if the attribute is not currently handled + add object dictionary for printing

Open Muzosh opened this issue 3 years ago • 0 comments

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 at least return the value in byte array. Currently, the code just raises an exception while providing just the key, but some developers might utilize the returned value and translate it themselves.

Muzosh avatar Nov 14 '22 09:11 Muzosh