1 Reply Latest reply: Sep 12, 2013 4:30 AM by PraveenPT RSS

    Problem calculating load token signature for  installing applet in SSD

    843851
      Hi everyone,

      I've created a new SD in my card which uses jcdk 2.2.1 and GP 2.0.1 .
      Now I want to install an applet in to this new SD ..

      This is my new SD details:

      Package AID = A0h 00h 00h 00h 18h 10h 01h 01h
      Class AID = A0h 00h 00h 00h 18h 53h 44h 41h
      NEW Security Domain Instance AID: A0000000000000000000000025

      RSA KEY
      Modulus :
      58 AA 0D 85 51 6C 60 09 61 B3 E5 2A 03 68 84 CE B9 F9 EA BB 86 63 B9 89 77 F0 2F 1E 42 0D C0 82 81 79 BA 50 1B 85 D2 51 EF 3E 87 D5 4A C6 A8 FA 1C 50 90 D6 89 FE 2B 8E 3E 4E AC 88 18 F5 4A 91 D5 4C E8 DF FD D1 60 6C 8E 11 7B 95 1E E7 BF E9 7A ED B5 1C D0 01 98 41 FA D3 DB 0A F1 0D 86 00 24 A4 C6 18 65 89 42 86 5D 88 D4 64 04 FE BD 5A 3D BF 88 EC 58 C5 9C B8 0C C4 54 1C C8 48 71 19

      Public exponent : 010001

      Private exponent : 37 B6 42 E0 AE 95 06 93 5E 8D 07 46 2A F6 15 DD 40 06 C5 74 27 B1 A9 F7 B3 21 7C B9 EA 8F 71 93 8F 7F C9 8E 64 7C E5 F7 0D F9 A0 A8 69 60 02 F5 85 AD 2A 15 64 88 0D 1E 48 10 6F 60 E5 2D DC 38 9F 05 76 8A FA 2B 52 59 4D 81 15 8F 0B D1 1A 6F 0A ED 0B 67 EE FF B7 41 62 8D A3 C3 9F 2B 91 7F 16 E6 8F 35 4B 43 A1 6F 27 8C 62 29 7F 01 30 53 E5 43 79 E9 C1 AB 5E 06 DF 44 8C 9F B6 5C D6 F1

      These are my steps to Install wallet applet on my new SD :
      1 . selecting new SD
      2 . open secure channel with new SD keys.
      3. sending Install for load Command as you can see below :

      ' Input Data for Signature token computation[INSTALL for LOAD APDU]: 02003A07A00000006212340DA0000000000000000000000025149B185525F23D30E219538D1559DD6C269E67AE580EEF0CC6020000C8020000C7020000

      ' Token Signature Value: 568870ED46A281350A87EB7CB51C3CEDA6EF803B591F5F3922BC9D2668A9DC978F5FF6120DB2523F52D4C9DF194A9EF1EF7E15B9EEE1F6AC04E0AACEF3457579591DF0EA841A6B46AB414FF8910B0D35EF7E7B2C7BB6ED73F2BC9AFBC851C27578161FFCC8480DC5C2FBF59DC863A1B8F91B8F6F1CF47702D7B12FA0C259D880
      Complete APDU INSTALL for LOAD:
      80E60200 BB 07 A0000000621234 0D A0000000000000000000000025 14 9B185525F23D30E219538D1559DD6C269E67AE58 0E EF0CC6020000C8020000C7020000 80 568870ED46A281350A87EB7CB51C3CEDA6EF803B591F5F3922BC9D2668A9DC978F5FF6120DB2523F52D4C9DF194A9EF1EF7E15B9EEE1F6AC04E0AACEF3457579591DF0EA841A6B46AB414FF8910B0D35EF7E7B2C7BB6ED73F2BC9AFBC851C27578161FFCC8480DC5C2FBF59DC863A1B8F91B8F6F1CF47702D7B12FA0C259D880
      But I receive error 69 82 .

      I'll appreciate it if anyone could calculate load token signature for this load value with this RSA key and see if will have same result or not.

      Best Regards,
      Shanar :