Ticket #202 (closed defect: fixed)
NB! Read about ReportingBugs before filing a ticket!
pkcs15-tool --verify-pin fails for entersafe
| Reported by: | jmpoure | Owned by: | viktor.tarasov |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | opensc | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: |
Description
The FEITIAN PKI only has one PIN.
pkcs15-tool --list-pins Using reader with a card: Feitian SCR301 01 00 PIN [User PIN] Com. Flags: 0x3 ID : 01 Flags : [0x30], initialized, needs-padding Length : min_len:4, max_len:16, stored_len:16 Pad char : 0x00 Reference : 1 Type : ascii-numeric Path :
pkcs15-tool --verify-pin 01 always fails.
Change History
comment:2 Changed 2 years ago by jmpoure
-c is for --list-certificates, right?
When typing # pkcs15-tool --verify-pin 01 -c it simply asks the PIN code.
pkcs15-tool --verify-pin 01 -c Using reader with a card: Feitian SCR301 01 00 Please enter PIN [User PIN]:
And it returns no message whatever PIN code is entered.
Note: See
TracTickets for help on using
tickets.

Option '--verify-pin' was not designed as an independent action.
Maybe it should be changed.
Try to add some 'action', for ex.:
# pkcs15-tool --verify-pin 01 -c