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 <[email protected]> --- .../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 [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
