Skip to content

Conversation

meremST
Copy link

@meremST meremST commented Jul 18, 2025

This PR introduces password support for key files in imgtool to facilitate signing binaries for multiple boards requiring different key pairs. This can allow user to simplify automation by enabling non-interactive key loading with password.

@meremST meremST requested a review from d3zd3z as a code owner July 18, 2025 14:14
@meremST meremST changed the title imgtool: add support for key password to enable multiple key pair usage imgtool: add support for key password to enable non-interactive key loading with password Jul 18, 2025
Imgtool can sign a binary for multiple boards, which requires the use of
multiple key pairs. To simplify the automation of this process, a key
password argument is added.

The patch also add support to password retries.

Signed-off-by: Maxime Méré <[email protected]>
Add notes about the support of key password in imgtool load function

Signed-off-by: Maxime Méré <[email protected]>
@meremST
Copy link
Author

meremST commented Sep 10, 2025

Hello,

I've improved the implementation and also added support of passphrase retries in case of error.

Cheers

@meremST meremST closed this Sep 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants