Skip to content

Feeling my way into perso of a Visa applet and wanted a sanity check on approach and perhaps help to understand the result... #369

Closed Answered by marknimbuspay
marknimbuspay asked this question in Q&A
Discussion options

You must be logged in to vote

Having slept on this overnight, I spent needed time assessing the parameters and the data being written to the card. I found my error. In my store-data-chunk payload I was erroneously including the STORE_DATA command header. This command and length detail was being added as well by gptool causing the card to see the STORE_DATA command as the DGI bytes and rejecting it.

For clarity, I was specifying :-
--store-data-chunk 80E200011B92071882022000940818030301100203009F100706011103000000

and I should (of course) have been just specifying the data I wanted to store :-

--store-data-chunk 92071882022000940818030301100203009F100706011103000000

and having gptool wrap it perfectly for me.

So In sum…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marknimbuspay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant