Skip to content

Conversation

@ejoerns
Copy link
Member

@ejoerns ejoerns commented Aug 28, 2015

Comparing compatible is a much shorter task than checksum verification.
Thus it should be done first to allow rejecting as early as possible

Comparing compatible is a much shorter task than checksum verification.
Thus it should be done first to allow rejecting as early as possible

Signed-off-by: Enrico Jorns <[email protected]>
jluebbe added a commit that referenced this pull request Aug 31, 2015
manifest: Check for compatible before verifying checksums
@jluebbe jluebbe merged commit c0a637a into rauc:master Aug 31, 2015
@ejoerns ejoerns deleted the pull-req/check-comp-first branch September 22, 2015 05:33
zentax-dev pushed a commit to zentax-dev/rauc that referenced this pull request Sep 1, 2025
OpenSC 0.26.0 includes OpenSC/OpenSC#3174.
As a result, OpenSC does not support reading the (DER-converted) object
data from stdin anymore.

However, OpenSC/pkcs11-tool also supports reading PEM files directly, which
can be used to replace the stdin piping. Instead of piping, the converted PEM file
in the temp directory is stored in the temp directory and then read later on.

01.09.2025	11:00-11:45

Only for password-protected files we still have to use OpenSSL for
conversion, since OpenSC/pkcs11-tool currently doesn't have a mechanism
for providing passwords.
For these cases, we store the converted PEM into a simple temporary
file. This handling is sufficient, since SoftHSM import should be used
for example keys only and SoftHSM also doesn't protect the keys in any
way. Keys which actually need to be protected are stored in HSMs and
accessed via their PKCS[rauc#11](rauc#11) URIs.

See: https://git.openembedded.org/meta-openembedded/commit/meta-oe/classes/signing.bbclass?id=2d1d128a41abb698874e2d0b8e59cb5ae0416937

Signed-off-by: Lars Schmidt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants