Parent Directory | Revision Log
|Links to HEAD:||(view) (download) (annotate)|
my check if the applet is present was wrong
exit if the test applet is not found
Modify PIN: use a 4 digit PIN so we can test it using the test Java Card applet
Modify PIN: bInsertionOffsetOld and bInsertionOffsetNew starts from the APDU data (5th byte) and not the APDU start (first byte)
add a modify PIN dump command
Modify PIN: add a comment for bNumberMessage
Modify PIN: use 0x03 for bNumberMessage since the GemPC Pinpad rejects any other valu. The SPR 532 needs 0 here
verify PIN: use 0x01 for bNumberMessage for the GemPC Pinpad
verify PIN: use 0x02 (validation key pressed) for bEntryValidationCondition as the GemPC Pinpad rejects any other values
declare offset, pin_verify and pin_modify variable only if needed
use the new HandlerTest applet commands
also work with T=1 cards
debug modify PIN test code
add sample code to perform FEATURE_VERIFY_PIN_DIRECT and FEATURE_MODIFY_PIN_DIRECT if the reader supports it
remove definition of SCARD_CTL_CODE and #include <PCSC/reader.h>
#include <sys/time.h> instead of <time.h> to get correct definition of struct timeval under Mac OS X
The APDU now comes _after_ the CCID structure as described the CCID specifications.
set wPINMaxExtraDigit: set max to 8 (instead of 4) to differentiate it from min (set to 4)
in wPINMaxExtraDigit the bytes order is max,min and not min,max. The comments were wrong
add "THIS PROGRAM IS NOT DESIGNED AS A TESTING TOOL!
allow splint to continue parsing after use of type fd_set
explicitely cast the returned value as (void) if we don't use it
correct a signedness issue
- send Select DF and Select EF APDU before Verify PIN - read stdin (consume the "*" fake keys) if the pinpad is on a keyboard
use SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1 instead of SCARD_PROTOCOL_ANY since it is not defined in Micosoft PC/SC
remove useless bPINOperation
add support for SCardGetAttrib(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..) to know if the reader supports SCardControl(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..)
recompile using gcc -pedantic and correct: - some C++ syntax comments - many signedness "problems"
add examples for SCardControl IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE and IOCTL_SMARTCARD_VENDOR_VERIFY_PIN
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|Powered by ViewVC 1.1.5|