libcamera/src
Laurent Pinchart 52579639ce apps: Add ipa-verify application
When packaging libcamera, distributions may break IPA module signatures
if the packaging process strips binaries. This can be fixed by resigning
the modules, but the process is error-prone.

Add a command line ipa-verify utility that tests the signature on an IPA
module to help packagers. The tool takes a single argument, the path to
an IPA module shared object, and expects the signature file (.sign) to
be in the same directory.

In order to access the public key needed for signature verification, add
a static function to the IPAManager class. As the class is internal to
libcamera, this doesn't affect the public API.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Tested-by: Javier Martinez Canillas <javierm@redhat.com>
2023-07-05 15:38:59 +03:00
..
android android: mm: Stub libhardware for build tests 2023-05-30 18:29:08 +03:00
apps apps: Add ipa-verify application 2023-07-05 15:38:59 +03:00
gstreamer libcamera: Remove StreamRoles alias 2023-07-04 22:56:38 +01:00
ipa ipa: rpi: agc: Do not switch to a default if a mode is unavailable 2023-06-19 11:31:10 +01:00
libcamera apps: Add ipa-verify application 2023-07-05 15:38:59 +03:00
py libcamera: camera: Take span of StreamRole instead of vector 2023-07-04 22:48:30 +01:00
v4l2 v4l2: Move the v4l2 compat layer to libexec/libcamera 2023-05-04 20:05:02 +01:00
meson.build v4l2: Move the v4l2 compat layer to libexec/libcamera 2023-05-04 20:05:02 +01:00