From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 27 Jul 2021 08:22:32 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m8GU4-0002TO-Ng for lore@lore.pengutronix.de; Tue, 27 Jul 2021 08:22:32 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m8GU3-0001Bl-W1; Tue, 27 Jul 2021 08:22:32 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8GTI-0000fz-NC; Tue, 27 Jul 2021 08:21:44 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m8GTI-0005iG-6y; Tue, 27 Jul 2021 08:21:44 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m8GTI-008Mm4-49; Tue, 27 Jul 2021 08:21:44 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Tue, 27 Jul 2021 08:21:44 +0200 Message-Id: <20210727062144.1994125-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210723142535.29392-1-rhi@pengutronix.de> References: <20210723142535.29392-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] templates/code-signing-provider: set up SoftHSM 'imx-habv4-srk' role group X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Roland Hieber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 642d138482bf67b36df720ea7f9c324620b20356. Michael [sent from post-receive hook] On Tue, 27 Jul 2021 08:21:43 +0200, Roland Hieber 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 > Message-Id: <20210723142535.29392-1-rhi@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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