2024-07-18 05:43 PM
Hi,
I'm developing a GUI invoking STM32TrustedPackageCreator_CLI tool to generate SFI encryption key file and nonce file, but I have no idea on the command syntax, does any one can help me? thanks
Luke
Solved! Go to Solution.
2024-07-22 01:48 AM
Hello @LukeLiu,
Thank you for sharing the details, request transferred to CubeProgrammer development team (Internal tracking number: 187096).
Aziz
2024-07-19 03:45 AM
Hello @LukeLiu,
For now, encryption key and nonce file generation is only available inside STM32TrustedPackageCreator GUI.
Personally, I don't see the interest in adding it to CLI since customers usually generate those files only once. So could you please explain your end customer use case to give more context ? I can request the feature if it's worth having from a customer point of view.
In the meantime, a solution you can use is an RNG generating files of the same size (Without using STM32TrustedPackageCreator CLI).
Hope this helps,
Aziz
2024-07-21 06:52 PM
Hello @Aziz BRIGUI ,
Appreciate your answer and advice. originally, we have a strategy whin our department that if the bootloader or HSM card is changing, a new SFI encrption file and nonce file genaration are required. every single HSM card has a limitation of license, so we need to change new files frequently. that's why I'm asking the question here.
I'll try RNG generating file to see if it works for us.
thanks
Luke
BR
2024-07-22 01:48 AM
Hello @LukeLiu,
Thank you for sharing the details, request transferred to CubeProgrammer development team (Internal tracking number: 187096).
Aziz