meta-openembedded/meta-oe/classes
Johannes Schneider a825b85363
signing.bbclass: add certificate ca-chain handling
Add handling of ca-chains which can consist of more than one
certificate in a .pem file, which need to be split off, processed and
stored separately in the softhsm - as the tool-chain
signing.bbclass::signing_import_cert* -> softhsm -> 'extract-cert'
only supports one-per-file, due to using/expecting "plain" x509
in-/output.

The added signing_import_cert_chain_from_pem function takes a <role>
basename, and iterates through the input .pem file, creating numbered
<role>_1, _2, ... roles as needed.

Afterwards the certificates can be used or extracted one-by-one from
the softhsm, using the numbered roles; the only precondition - or
limitation - is that the PKI structure has to be known beforhand;
e.g. how many certificates are between leaf and root.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-01 06:43:15 -07:00
..
breakpad.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00
fitimage.bbclass fitimage: fix name of default configuration 2024-10-16 08:16:06 -07:00
gitpkgv.bbclass gitpkgv.bbclass: adjust the example in comment a bit 2024-02-09 09:52:12 -08:00
gitver.bbclass gitver: Pass git directory argument to gitrev_run 2019-06-15 17:17:09 -07:00
gpe.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00
image_types_sparse.bbclass image_types_sparse: Fix syntax error 2023-08-01 10:26:51 -07:00
image_types_verity.bbclass Add class for appending dm-verity hash data to block device images 2024-04-23 15:18:30 -07:00
itstool.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00
machine_kernel_pr.bbclass remove True option to getVar calls 2016-12-02 09:16:17 +01:00
scancode.bbclass meta-oe: remove True option to getVar calls (again) 2019-01-13 10:28:01 -08:00
signing.bbclass signing.bbclass: add certificate ca-chain handling 2024-11-01 06:43:15 -07:00
socorro-syms.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00