Thanks, applied as 642d138482bf67b36df720ea7f9c324620b20356.
Michael
[sent from post-receive hook]
On Tue, 27 Jul 2021 08:21:43 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> 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>
> Message-Id: <20210723142535.29392-1-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> 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"
> }
>
>
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de