Ticket #202 (closed defect: fixed)

NB! Read about ReportingBugs before filing a ticket!

Opened 2 years ago

Last modified 2 years ago

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:1 Changed 2 years ago by viktor.tarasov@…

  • Version changed from 0.11.6 to trunk

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

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.

comment:3 Changed 2 years ago by viktor.tarasov@…

  • Owner changed from opensc-devel@… to viktor.tarasov

In fact,

PIN is verified but there is neither success nor error message.

comment:4 Changed 2 years ago by viktor.tarasov@…

  • Status changed from new to closed
  • Resolution set to fixed

fixed in r4119

Note: See TracTickets for help on using tickets.