[Muscle] Secure PIN entry with variable legth

Mathias Tausig mtausig at fsmat.at
Tue Jan 29 02:00:45 PST 2008


> Hi,
>
> muscle-bounces at lists.musclecard.com wrote on 01/29/2008 02:31:57 PM:
>
>> I have one more question on that issue:
>>
>> I haven't been able to dislpay the fancy stars when a pinpad-key is
>> pressed so far.
>> According to GET_FEATURE_REQUEST my reader is capable of
> GET_KEY_PRESSED,
>> VERIFY_PIN_DIRECT and MODIFY_PIN_DIRECT. But by the PC/SC documentation,
>> GET_KEY_PRESSED requires VERIFY_PIN_START which my reader seems to be
> not
>> capable of. When I try to execute GET_KEY_PRESSED I either get a
>> "Transaction failed" error  (if no verification is currently in
> progress)
>> or the command execution is blocked until the verification has finished
>> (Card is opened in shared mode).
>> How can I qcquire that? Somehow it has to work, as the windows driver of
>> my reader does what it should.
>
> IMHO, once, the VERIFY_PIN_START command is sent, the device moves to a
> "secure" mode. but, the IFDHICCPresence command gets executed every 200ms
> or so
> ( am not sure on the exact timing), and when that occurs, if the reader
> sends
> a command to update the card status, the this "secure" mode goes off which
> can be a cause of thie GET_KEY_PRESSED to fail.
>

But the problem is, that my reader tells me it does not support the
VERIFY_PIN_START command, only VERIFY_PIN_DIRECT.

cheers
mathias



More information about the Muscle mailing list