fwupd/data/tests/colorhug
Richard Hughes d5aab65f30 Use Jcat files in firmware archives and for metadata
A Jcat file can be used to store GPG, PKCS-7 and SHA-256 checksums for multiple
files. This allows us to sign a firmware or metadata multiple times (perhaps
by the OEM and also then the LVFS) which further decentralizes the trust model
of the LVFS.

The Jcat format was chosen as the Microsoft catalog format is nonfree and not
documented. We also don't want to modify an existing .cat file created from WU
as this may make it unsuitable to use on Windows.

More information can be found here: https://github.com/hughsie/libjcat
2020-03-23 19:55:12 +00:00
..
firmware.bin Generate the ColorHug test files at runtime 2015-08-12 09:09:28 +01:00
firmware.bin.asc Generate the ColorHug test files at runtime 2015-08-12 09:09:28 +01:00
firmware.bin.p7b trivial: Use the new LVFS CA certificate 2017-08-23 15:36:22 +01:00
firmware.metainfo.xml Support returning multiple GUIDs from GetDetails 2016-05-25 09:47:40 +01:00
meson.build Use Jcat files in firmware archives and for metadata 2020-03-23 19:55:12 +00:00
README.md trivial: Use the new LVFS CA certificate 2017-08-23 15:36:22 +01:00

Generating the p7b file manually:

certtool --p7-detached-sign --p7-time \
    --load-privkey LVFS/pkcs7/secure-lvfs.rhcloud.com.key \
    --load-certificate LVFS/pkcs7/secure-lvfs.rhcloud.com_signed.pem \
    --infile firmware.bin \
    --outfile firmware.bin.p7b