mbsysde99 wrote: ↑Mon Jan 10, 2022 12:02 pm
When doing an issued card, in the second row from the bottom process there is an APDU protocol like this. I've tried parsing using the apdu parser on this site, but failed. Can anyone explain to me, what is the function of this apdu?
Code: Select all
VReader:80 10 00 00 23 08 30 30 30 30 30 30 30 30 10 67 7B CD FD 0A 5A B6 2B 52 6D 97 A0 7A E2 D3 E3 08 67 7B CD FD 0A 5A B6 2B
JCVM:9000
CLA = 80
INS = 10 ???? (what this :?: )
P1 = 00
P2 = 00
Lc field = 23
Command data field = 08 30 30 30 30 30 30 30 30 10 67 7B CD FD 0A 5A B6 2B 52 6D 97 A0 7A E2 D3 E3 08 67 7B CD FD 0A 5A B6 2B
08 = length password
30 30 30 30 30 30 30 30 = password
10 67 7B CD FD 0A 5A B6 2B 52 6D 97 A0 7A E2 D3 E3 08 67 7B CD FD 0A 5A B6 2B = ???? (what's this and how to get this values :?: )
Thanks
Yudha
I resolved this problem. That Instruction is used for initialize PIN (8 bytes), Key (16 bytes) for Internal/External Authentication process, and Card ID (8 bytes).
Issue processing as follows:
1. Select Aid
2. Create Secure Channel SCP 02
3. Parse Applet
4. Delete Package and Applet if exst in Java Card (this is not exist in loyalty card demo, add this for avoid error when applet is ready on your card befoe)
5. Start to upload Applet
6. Install for load Applet
7. Install for install Applet
8. Select Installed Applet
9. Request public key (this is process not exist in loyalty card demo, add this to encrypt PIN, Key and ID Card before send it to card)
10. Set for PIN (8 bytes), Key (16 bytes), and ID Card ( 8 bytes)