mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] rauc: fix previous private key location triggering key creation message
@ 2020-09-24 10:48 Bastian Krause
  2020-10-06  8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bastian Krause @ 2020-09-24 10:48 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Prior to the code signing infrastructure introduction, 001a500ed
("scripts: add script that generates test certificates for RAUC")
suggested to move the private key to
<platform-dir>/config/rauc/rauc.key.pem. This is the location that
should be checked for key material.

Fixes: c420c0745 ("rauc/image-rauc: use code signing infrastructure for key retrieval")
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 rules/rauc.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/rauc.make b/rules/rauc.make
index c1cba47e9..75a7d3521 100644
--- a/rules/rauc.make
+++ b/rules/rauc.make
@@ -48,7 +48,7 @@ RAUC_CONF_OPT	:= \
 
 $(STATEDIR)/rauc.prepare:
 	@$(call targetinfo)
-	@test ! -e "$(call ptx/in-platformconfigdir, config/rauc/rauc.key)" || \
+	@test ! -e "$(call ptx/in-platformconfigdir, config/rauc/rauc.key.pem)" || \
 		ptxd_bailout "Please use the signing provider infrastructure desribed in:" \
 			"https://www.ptxdist.org/doc/dev_code_signing.html"
 	@$(call world/prepare, RAUC)
-- 
2.28.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] rauc: fix previous private key location triggering key creation message
  2020-09-24 10:48 [ptxdist] [PATCH] rauc: fix previous private key location triggering key creation message Bastian Krause
@ 2020-10-06  8:18 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2020-10-06  8:18 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Thanks, applied as 22771878dc0dffd45b44346147ba0fb828cd33e6.

Michael

[sent from post-receive hook]

On Tue, 06 Oct 2020 10:18:50 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Prior to the code signing infrastructure introduction, 001a500ed
> ("scripts: add script that generates test certificates for RAUC")
> suggested to move the private key to
> <platform-dir>/config/rauc/rauc.key.pem. This is the location that
> should be checked for key material.
> 
> Fixes: c420c0745 ("rauc/image-rauc: use code signing infrastructure for key retrieval")
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200924104811.30246-1-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/rauc.make b/rules/rauc.make
> index c1cba47e9dd0..75a7d35212cd 100644
> --- a/rules/rauc.make
> +++ b/rules/rauc.make
> @@ -48,7 +48,7 @@ RAUC_CONF_OPT	:= \
>  
>  $(STATEDIR)/rauc.prepare:
>  	@$(call targetinfo)
> -	@test ! -e "$(call ptx/in-platformconfigdir, config/rauc/rauc.key)" || \
> +	@test ! -e "$(call ptx/in-platformconfigdir, config/rauc/rauc.key.pem)" || \
>  		ptxd_bailout "Please use the signing provider infrastructure desribed in:" \
>  			"https://www.ptxdist.org/doc/dev_code_signing.html"
>  	@$(call world/prepare, RAUC)

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-06  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24 10:48 [ptxdist] [PATCH] rauc: fix previous private key location triggering key creation message Bastian Krause
2020-10-06  8:18 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox