On 03/13/2017 05:08 PM, Enrico Joerns wrote:
[...]
LOG of
./rauc info -d update.raucb
Domains: 'rauc'
rauc-Message: Reading bundle: update.raucb
rauc-Message: Verifying bundle...
3069734912:error:2E09D06D:CMS routines:CMS_verify:content verify
error:../crypto/cms/cms_smime.c:393:
(rauc:21318): rauc-WARNING **: signature verification failed:
error:2E09A09E:CMS routines:CMS_SignerInfo_verify_content:verification
failure
I assume you executed this on the target?
Obviously, there is a certificate verification error. Did you set up the
key, cert and keychain correctly? If you want to (for test-purpose)
inspect the bundle without verification, you can use the `--no-verify`
argument. But for installation the verification is mandatory thus it
should work with `info`, too.
Just for reference, the encryption error might have also been triggered
by this issue in RAUC when using OpenSSL 1.1.x:
https://github.com/rauc/rauc/issues/115
This was resolved in
https://github.com/rauc/rauc/pull/116
and is available since release 0.1.1 of RAUC
Best regards, Enrico
--
Pengutronix e.K. | Enrico Jörns |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
RAUC mailing list