How to generate SFI encryption key file with STM32TrustedPackageCreator_CLI tool?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-18 5: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.
- Labels:
-
STM32CubeProgrammer
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-22 1:48 AM
Hello @LukeLiu,
Thank you for sharing the details, request transferred to CubeProgrammer development team (Internal tracking number: 187096).
Aziz
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-19 3: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
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-21 6: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-22 1:48 AM
Hello @LukeLiu,
Thank you for sharing the details, request transferred to CubeProgrammer development team (Internal tracking number: 187096).
Aziz
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
