Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Sticky Revision: |
Display PIN_PROPERTIES_STRUCTURE if any
Use FEATURE_CCID_ESC_COMMAND to get the firmware of a GemPC reader
Add support of PCSCv2_PART10_PROPERTY_bPPDUSupport and FEATURE_CCID_ESC_COMMAND
Remove extra spaces
Do not reference secoder_info for properties_in_tlv_ioctl tag
Add table for bMsgIndex[1-3] and correctly set bMsgIndex2 and bMsgIndex3
Update copyright
Add table for bEntryValidationCondition
Use a SCARD_SHARE_SHARED instead of SCARD_SHARE_DIRECT since we are really talking to the card, not just to the reader. So SCardConnect() has to power on the card if needed.
No need to use HOST_TO_CCID_16() and HOST_TO_CCID_32() since revision 5252
Reformat output
add support of FEATURE_GET_TLV_PROPERTIES
Rename Gemplus in Gemalto
rename FEATURE_MCT_READERDIRECT in FEATURE_MCT_READER_DIRECT
send a "secoder info" command if the reader supports FEATURE_MCT_READERDIRECT
parse FEATURE_IFD_PIN_PROPERTIES and FEATURE_MCT_READERDIRECT tags
use a swicth to parse the CM_IOCTL_GET_FEATURE_REQUEST TLV tag
check a card is present only _after_ SCardControl(CM_IOCTL_GET_FEATURE_REQUEST)
update copyright date
document how to select a reader using a command line argument
check the error code returned by SCardControl(CM_IOCTL_GET_FEATURE_REQUEST)
add support of PIN_PROPERTIES_STRUCTURE structure and FEATURE_IFD_PIN_PROPERTIES Thanks to Martin Paljak for the patch
typo in comment
get the GemPC firmware only if GET_GEMPC_FIRMWARE is #define
update Free Software Foundation mail address
exit if no card is present
use SCARD_LEAVE_CARD instead of SCARD_UNPOWER_CARD for SCardReconnect() since SCardReconnect() returns SCARD_W_REMOVED_CARD on Mac OS X 10.4
add support for Mac OS X
update version and copyright date
remove compilation warnings
do not free() unallocated memory
use PCSC_ERROR_EXIT() for SCardListReaders() call
display an explicit message when no card is present
remove a redundant declaration of i scardcontrol.c:486: attention : declaration of āiā shadows a previous local
Secure modify PIN: add a bConfirmPIN and bNumberMessage table
set max pin size to 8 instead of 4
use LPSTR instead or the deprecated LPTSTR
use ntohl/htonl from arpa/inet.h since the tag value for IOCTL_FEATURE_VERIFY_PIN_DIRECT and IOCTL_FEATURE_MODIFY_PIN_DIRECT _shall_ be encoded in big endian as documented in PCSC v2 part 10 ch 2.2 page 2. The applications using this feature shall be updated (to respect the PCSC specification) Thanks to Ulrich Vogl for the bug report
Use a timeout of 0.1 second instead of 0 for waiting characters from the keyboard
Modify PIN: use a for() loop instead of 3 fgets() since we will not read every "PIN" if the command is aborted
remove PCSC/ from the pcsc-lite #include header files since the PCSC/ part is already given by `pkg-config --cflags libpcsclite`
update copyright date
in Modify PIN command we need to read 3 lines from the keyboard (old, new and confirm PINs)
use a buffer of 40 instead of 10 to reader the keyboard since the PIN may be longer than 8 digits
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
use HOST_TO_CCID_16/HOST_TO_CCID_32
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.
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |