From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH] templates/code-signing-provider: set up SoftHSM 'imx-habv4-srk' role group
Date: Fri, 23 Jul 2021 16:25:35 +0200 [thread overview]
Message-ID: <20210723142535.29392-1-rhi@pengutronix.de> (raw)
Also provide some example code to set up the role group for the SoftHSM
use case.
Fixes: f1fc06cd534092bd1a4a (2021-07-08, "templates/code-signing-provider: set up the 'imx-habv4-srk' role group")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
.../code-signing-provider/ptxdist-set-keys-softhsm.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rules/templates/code-signing-provider/ptxdist-set-keys-softhsm.sh b/rules/templates/code-signing-provider/ptxdist-set-keys-softhsm.sh
index 0836d61d13b7..b3de3e325404 100755
--- a/rules/templates/code-signing-provider/ptxdist-set-keys-softhsm.sh
+++ b/rules/templates/code-signing-provider/ptxdist-set-keys-softhsm.sh
@@ -48,6 +48,10 @@ import_imx_habv4_keys() {
cs_import_cert_from_der "${r}" "${crts}/IMG${i}_1_sha256_4096_65537_v3_usr_crt.der"
cs_import_key_from_pem "${r}" "${keys}/IMG${i}_1_sha256_4096_65537_v3_usr_key.pem"
done
+
+ g="imx-habv4-srk"
+ cs_define_group "${g}"
+ cs_group_add_roles "${g}" "imx-habv4-srk1" "imx-habv4-srk2" "imx-habv4-srk3" "imx-habv4-srk4"
}
--
2.30.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2021-07-23 14:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-23 14:25 Roland Hieber [this message]
2021-07-27 6:21 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210723142535.29392-1-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox