Replacing initial ISD keyset (KVN 0xFF)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Replacing initial ISD keyset (KVN 0xFF)

跳至解决方案
315 次查看
nc-adnan
Contributor I

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

0 项奖励
回复
1 解答
288 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @nc-adnan ,

 

Actually P71 is not a mass market product so the related technical discussion is not allowed here. Would you please create a private ticket instead? Please kindly refer to the following for details.

https://www.nxp.com/video/tutorial-for-nxp-support-case-portal:NCP-VIDEO 

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
289 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @nc-adnan ,

 

Actually P71 is not a mass market product so the related technical discussion is not allowed here. Would you please create a private ticket instead? Please kindly refer to the following for details.

https://www.nxp.com/video/tutorial-for-nxp-support-case-portal:NCP-VIDEO 

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复