From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1jZYRA-0006NK-FR for ptxdist@pengutronix.de; Fri, 15 May 2020 13:23:32 +0200 References: <20200514134300.16105-1-bst@pengutronix.de> <20200514134300.16105-11-bst@pengutronix.de> <20200515075836.GE32420@pengutronix.de> From: Bastian Krause Message-ID: Date: Fri, 15 May 2020 13:23:32 +0200 MIME-Version: 1.0 In-Reply-To: <20200515075836.GE32420@pengutronix.de> Content-Language: en-US Subject: Re: [ptxdist] [PATCH 11/13] image-rauc: enable keyring verification List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On 5/15/20 9:58 AM, Michael Olbrich wrote: > On Thu, May 14, 2020 at 03:42:58PM +0200, Bastian Krause wrote: >> Note: requires genimage > 12 > > I think "genimage 13 or later" would be clearer here. On first glance I > thought that 12 is ok too and that's not correct. Right, will do. Regards, Bastian > > Michael > >> Signed-off-by: Bastian Krause >> --- >> config/images/rauc.config | 1 + >> rules/image-rauc.make | 3 ++- >> 2 files changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/config/images/rauc.config b/config/images/rauc.config >> index 8396bd4be..0c824f00e 100644 >> --- a/config/images/rauc.config >> +++ b/config/images/rauc.config >> @@ -13,5 +13,6 @@ image @IMAGE@ { >> " >> cert = "@RAUC_CERT@" >> key = "@RAUC_KEY@" >> + keyring = "@RAUC_KEYRING@" >> } >> } >> diff --git a/rules/image-rauc.make b/rules/image-rauc.make >> index a031edfae..c0c9d4978 100644 >> --- a/rules/image-rauc.make >> +++ b/rules/image-rauc.make >> @@ -32,7 +32,8 @@ IMAGE_RAUC_ENV = \ >> RAUC_BUNDLE_BUILD=$(call ptx/sh, date +%FT%T%z) \ >> RAUC_BUNDLE_DESCRIPTION=$(PTXCONF_IMAGE_RAUC_DESCRIPTION) \ >> RAUC_KEY="$(shell cs_get_uri update)" \ >> - RAUC_CERT="$(shell cs_get_uri update)" >> + RAUC_CERT="$(shell cs_get_uri update)" \ >> + RAUC_KEYRING="$(shell cs_get_ca update)" >> >> $(IMAGE_RAUC_IMAGE): >> @$(call targetinfo) >> -- >> 2.26.2 >> >> >> _______________________________________________ >> ptxdist mailing list >> ptxdist@pengutronix.de >> > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de