I need technical support in order to set my own CardManager keys inside the smartcard of the NOKIA 6131 NFC (GlobalPlatform 2.1.1).
First think to know is that my secure element has been unlocked. So I can connect under JCOP Shell using NOKIA R&D keyset :
set-key 42/1/DES-ECB/404142434445464748494a4b4c4d4e4f 42/2/DES-ECB/404142434445464748494a4b4c4d4e4f 42/3/DES-ECB/404142434445464748494a4b4c4d4e4f
Then, I tried following commands to set my own keys :
set-key 26/1/DES-ECB/ff00ab123456789aabbccddaabbff992 26/2/DES-ECB/ff00ab123456789aabbccddaabbff992 26/3/DES-ECB/ff00ab123456789aabbccddaabbff992
But I have an error :
Add new key set didn't work, try modify ...
According to GP2.1.1, E.5.1 INITIALIZE UPDATE Command, the response contains key information: default key-set and the secure channel protocol to be used. Do you know if Nokia 6131 NFC uses SCP01 or SCP02 ?
SCP02 uses a session key (DEK) to encrypt the keys and SCP01 uses a static key to do this. SCP is set during card manufacturing.
Also do you know how to upload my Applet in association with a specific and personalized Security Domain ? Mutual Authentication to CardManager seems to be disabled or I missed something.