Code: Select all
//Signature
//select
00 A4 04 00 10 D2 76 00 01 24 01 02 00 00 06 00 00 00 01 00 00 00;
//verify pw1
0020008106313233343536;
//verify pw3
00200083083132333435363738;
// generate sig_key key pair
8047800001B6;
//getResponse
00C0000F;
//compute signature
802A9E9A06010203040506;
//getResponse
00C00001;
Also you can using the follows APDU commands to change the user pin and admin pin.
The format is:
//change User PIN
80 24 00 81 + Lc + New Pin + Old Pin + le
//change admin PIN
80 24 00 83 + Lc + New Pin + Old Pin + le
For example:
Code: Select all
//change User PIN
802400810C313233343536112233445566
//change admin PIN
802400831031323334353637381122334455667788
- Note:
- The attachment is the script file, you can send it directly using pyApdutool.