mbox series

[meta-oe,v2,0/6] signing.bbclass: add certificate chain handling

Message ID 20250531113252.3889951-1-johannes.schneider@leica-geosystems.com
Headers show
Series signing.bbclass: add certificate chain handling | expand

Message

Johannes Schneider May 31, 2025, 11:32 a.m. UTC
Adding support for handling a complex PKI setup to the signing.bbclass

Since a (soft)HSM can only store a single certificate in one slot, the
relation between a leaf certificate, and it's signing intermediary (or
root) certificate has to be stored outside of the HSM, in the form of
some additional metadata.  This additional data is stored in an
environment variable, which is setup and manipulated by a set of
helper functions: signing_{get,set,has}_ca.

This patch-stack also does some cleanup of now superfluous code parts.