Hi,

for the Oberthur card I'm going to commit the PinPad support for PIN changing 
and unblocking.

But before, I would like to know if there are any objections for
the following changes to calls of do_change() and do_unblock() in 
opensc-explorer.

Here are proposed usages of these procedures:

OpenSC [3F00]> unblock
Usage: unblock CHV<pin ref> [<puk>] [<new pin>]
Examples:
        Unblock PIN and set a new value:   unblock CHV2 00:00:00:00:00:00 
"foobar"
        Unblock PIN keeping the old value: unblock CHV2 00:00:00:00:00:00 ""
        Set new PIN value:                 unblock CHV2 "" "foobar"
        Set PIN keeping the old PIN value: unblock CHV2 "" ""
Examples with pinpad:
        Unblock PIN: new PIN value prompted by pinpad: unblock CHV2 
00:00:00:00:00:00
        Set PIN: new PIN value is prompted by  pinpad: unblock CHV2 ""
        Unblock PIN: unblock code and new PIN value is prompted by pinpad: 
unblock CHV2

OpenSC [3F00]> change
Usage: change CHV<pin ref> [[<old pin>] <new pin>]
Examples:
        Change PIN:              change CHV2 00:00:00:00:00:00 "foobar"
        Set PIN:                 change CHV2 "foobar"
        Change PIN with pinpad': change CHV2


Kind wishes,
Viktor Tarasov.

-- 
Viktor Tarasov  <viktor.tara...@opentrust.com>


_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to