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

Reply via email to