Is there any information on how to set/use the key version when rotating SCP03 keys and using them? In nxScp03_CP_InitializedUpdate() (in se05x_APDU_impl.c) the key version is set here:
tlvHeader_t hdr = {{CLA_GP_7816, INS_GP_INITIALIZE_UPDATE, keyVersion, 0x00}};
For SCP03 the version is 0xB. If I rotate the SCP03 keys should this number change?
I'm using the NXP Nano package.
Dean
解決済! 解決策の投稿を見る。
Hi @deang ,
The key version number (KVN) is the identifier of the slot where the key is stored. It shall stay the same, the existing key should get exchanged on the key rotation to overwrite the previously stored default key.
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.
-------------------------------------------------------------------------------
Hi @deang ,
The key version number (KVN) is the identifier of the slot where the key is stored. It shall stay the same, the existing key should get exchanged on the key rotation to overwrite the previously stored default key.
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.
-------------------------------------------------------------------------------
Thanks @Kan_Li
Dean