Page 1 of 1

Download Cap error: Check Card Cryptogram failed.

Posted: Fri Nov 13, 2015 10:44 am
by crash
I got this error while downloading
my cap file to the card:
Download Cap error: Check Card Cryptogram failed.
pyApdutool say´s:

Code: Select all

<<00 A4 04 00 00
>>6F 65 84 08 A0 00 00 00 18 43 4D 00 A5 59 73 4A 06 07 2A 86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B 02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64 0B 06 09 2A 86 48 86 FC 6B 04 01 05 65 0B 06 09 2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01 04 01 2A 02 6E 01 02 9F 6E 06 12 91 92 89 02 00 9F 65 01 FF 90 00

<<80 50 00 00 08 94 87 22 DC CE DA 14 9B 1C
>>4D 00 00 12 C0 07 24 04 20 1F FF 01 60 9A 1D 7F 91 D6 B7 73 C0 E5 A2 11 F5 D4 BF 85 90 00

Re: Download Cap error: Check Card Cryptogram failed.

Posted: Sat Nov 14, 2015 5:41 am
by UNKNwYSHSA
From the response data, we can know the scp number is 01, and the key version number is 0xFF.


What's your card type? What's the i value of your card SCP implemented? Is there any tool(s) can process INITIALIZE UPDATE command successfully?

Re: Download Cap error: Check Card Cryptogram failed.

Posted: Sat Nov 14, 2015 5:52 am
by UNKNwYSHSA
Check the GP key value of pyApdutool first. The default key (version number is 0xFF) value is 0x40 ~ 0x4F, shall be same as follow image.

Re: Download Cap error: Check Card Cryptogram failed.

Posted: Mon Nov 16, 2015 6:36 am
by crash
I don´t have a GP-Key
I have a Admin-PIN and a User-PIN :-/

Is there a way to go with this?

Re: Download Cap error: Check Card Cryptogram failed.

Posted: Tue Nov 17, 2015 10:02 am
by UNKNwYSHSA
Your card has a GP applet?

Re: Download Cap error: Check Card Cryptogram failed.

Posted: Thu Nov 19, 2015 7:05 am
by crash
yes, i got the GP-Key after asking for it.

I realized it, described here:
http://www.javacardos.com/javacardforum/viewtopic.php?f=15&t=258

Thanks for the help :-)