Exception: 'ascii' codec can't decode byte 0x97 in position 0: ordinal not in range(128)
I am getting this error while trying to read an RSA key from a PKCS11 HSM.
It has no problems reading ECC-based keys though.
Can you provide a full Python backtrace?
It looks like PyKCS11 tried to convert from byte to ASCII a value that is not possible in ASCII.
How do you get this error? Please provide a full error dump.
Log in to post a comment.
Can you provide a full Python backtrace?
It looks like PyKCS11 tried to convert from byte to ASCII a value that is not possible in ASCII.
How do you get this error?
Please provide a full error dump.