Hi,
Using the JCOP 4.5 P71 (JCOP-ID-2) product, we would like to replace the initial ISD keys (SCP03, AES), which have the Key Version Number is 255 (0xFF), with new keys having a different KVN, for example 0x01.
I have found an example JCShell scripts, but we are using a different tool in production to send the APDU commands so I would like to understand which GlobalPlatform APDU commands to use and how.
Example in JCShell script:
# update the key-set
# the keys are defined in the authISD script
if ${replaceKeyset}
put-keyset -m replace -r ${replaceKeyset;q} ${newKeySet}
else
put-keyset -r 255 ${newKeySet}
end
In the GlobalPlatform Card Specification v2.3.1, the PUT KEY command to replace existing keys does not allow the value 0xFF to be specified in the P1 parameter.
Is KVN 0xFF a special case? How can we replace the keys in this case?
Thanks,
JCOP-ID-2