logic behind CST tool to find the private key to use

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

logic behind CST tool to find the private key to use

跳至解决方案
1,539 次查看
antonio_santagi
Contributor IV

Hello,

I read the document CST_UG.pdf included in the CST tool's zip archive.

However I can't find what it the logic used by the CST tool to retrieve the correct private key to sign the code.

In the CSF files there is usually mentioned the public key certificate like : 

File = "../crts/IMG1_1_sha256_4096_65537_v3_usr_crt.der"

These certificates/public keys are used at runtime to verify the validity of signatures.But I can never find a reference to the private key to be used to sign the code. 

How does the CST tool retrieve the correct private key to sign the code ? Does it go straight to the /keys subfolder and look for the right one ?

Should I place the private key always in the /keys subfolder ?

thank you

 

0 项奖励
回复
1 解答
1,529 次查看
Yuri
NXP Employee
NXP Employee

@antonio_santagi 
Hello,

  Yes, the CST uses the /keys directory to access the keys.

Also, customers can use HSM, as described in the following app note.

https://www.nxp.com/webapp/Download?colCode=AN12812

 

Regards,
Yuri.

在原帖中查看解决方案

2 回复数
1,525 次查看
antonio_santagi
Contributor IV

thank you, this is useful.

0 项奖励
回复
1,530 次查看
Yuri
NXP Employee
NXP Employee

@antonio_santagi 
Hello,

  Yes, the CST uses the /keys directory to access the keys.

Also, customers can use HSM, as described in the following app note.

https://www.nxp.com/webapp/Download?colCode=AN12812

 

Regards,
Yuri.