Skip to content

When selecting an applet in T1 protocol with automatic get response, the tool returns ""SCardTransmit error: FFFFFFFF80100008"" #4

@ble0

Description

@ble0

I'm selecting a PIV applet without the extra 00 bytes at the end of the APDU.
But instead the tool generates exception:
SCardTransmit error: FFFFFFFF80100008

//select applet (this command has no automatic get response or extra 00 byte at the end)
00 A4 04 00 0B A0 00 00 03 08 00 00 10 00 01 00
-->card should return 
61 81 66 4F 0B A0 00 00 03 08 00 00 10 00 01 00
79 07 4F 05 A0 00 00 03 08 50 15 50 69 76 41 70
70 6C 65 74 20 76 30 2E 39 2E 30 2F 52 53 61 44
5F 50 1E 67 69 74 68 75 62 2E 63 6F 6D 2F 61 72
65 6B 69 6E 61 74 68 2F 50 69 76 41 70 70 6C 65
74 AC 06 80 01 03 06 01 00 AC 06 80 01 0C 06 01
00 AC 06 80 01 07 06 01 00
90 00

is there a way the tool can handle automatic get response without adding the extra 00 bytes at the end? Im not sure if this is non standard but some applet or cards behaves this way

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions