cancel
Showing results for 
Search instead for 
Did you mean: 

XML file password with TrustedPackageCreator CLI

peter7
Associate II

Hello,

 

the STM32TrustedPackageCreator supports the obk-file-generation via CLI:

STM32TrustedPackageCreator_CLI.exe -obk C:\OBKey.xml

 

This requires a xml-file. The gui-version allows the generation directly from a password. Is this also possible via CLI?

 

Best regards,

Peter

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @peter7,

You are correct. I was referring to the OBK-file generation via the security panel, which requires an XML file as input. Regarding the DA OBK file generation, the tool automatically imports the password from the XML file located under ".../bin/DA_OBKeyGen_xml" after selecting the MCU and DA type and allow you to modify it there.

I have submitted a ticket to the development team in order to support this using CLI also.

Internal ticket number: 217843 (This is an internal tracking number and is not accessible or usable by customers).

 

Thanks,

Amine.

 


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.

View solution in original post

4 REPLIES 4
Amine_Jridi
ST Employee

Hello @peter7,

 

Could you please clarify what you mean by directly from a password? to use a password with GUI you need to use an XML file that contains it. Either way the password has to be updated inside the xml file. 

The only OBKeys command using CLI is: 

-obk, --obk [<File_Name>]: Path of input XML File

Thanks,

Amine.

 


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.
peter7
Associate II

Hello Amine,

 

I read the documentation for the CLI tool. As you mentioned, there is only this one option regarding the obk-file.

However, in the gui-tool, there exists the possibility to enter the password and get the obk-file without the need for an xml-file.

peter7_0-1758100478395.png

 

I was hoping that there is another CLI-option to avoid the xml-file. Something like this:

STM32TrustedPackageCreator_CLI.exe -obk-from-pwd "0123456789012345"

Best regards,

Peter

Hello @peter7,

You are correct. I was referring to the OBK-file generation via the security panel, which requires an XML file as input. Regarding the DA OBK file generation, the tool automatically imports the password from the XML file located under ".../bin/DA_OBKeyGen_xml" after selecting the MCU and DA type and allow you to modify it there.

I have submitted a ticket to the development team in order to support this using CLI also.

Internal ticket number: 217843 (This is an internal tracking number and is not accessible or usable by customers).

 

Thanks,

Amine.

 


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.
peter7
Associate II

Hello Amine,

 

thank you for your answer. Although it was not what I hoped for, I now know that I have to use the xml-file.

 

Thanks,

Peter