Getting error CKR_PIN_LEN_RANGE on smart card
Issue
- While listing object on smart card getting error
CKR_PIN_LEN_RANGE
.
# pkcs11-tool -O -l --module /usr/lib64/opensc-pkcs11.so -v
Please enter User PIN:
error: PKCS11 function C_Login failed: rv = CKR_PIN_LEN_RANGE
(0xa2)Aborting.
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.