From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Fri, 15 May 2020 09:58:36 +0200 From: Michael Olbrich Message-ID: <20200515075836.GE32420@pengutronix.de> References: <20200514134300.16105-1-bst@pengutronix.de> <20200514134300.16105-11-bst@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200514134300.16105-11-bst@pengutronix.de> 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 Cc: Bastian Krause 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. 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