diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-06-11 16:36:55 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-08-04 11:20:37 +0100 |
commit | c6f2d537ad3082449c7c38885e44d00af74cef48 (patch) | |
tree | 34c214a63abcefc4262d94f9983f64383a8a3f91 /src | |
parent | 5fd4bb03371abe3b804462abe2df51f2cedba534 (diff) |
DNI: If a sign file exists, treat it as valid
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/ipa_manager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libcamera/ipa_manager.cpp b/src/libcamera/ipa_manager.cpp index 771150ba..1214e07d 100644 --- a/src/libcamera/ipa_manager.cpp +++ b/src/libcamera/ipa_manager.cpp @@ -275,6 +275,13 @@ IPAModule *IPAManager::module(PipelineHandler *pipe, uint32_t minVersion, bool IPAManager::isSignatureValid([[maybe_unused]] IPAModule *ipa) const { + if (!ipa->signature().empty()) { + LOG(IPAManager, Warning) + << "IPA module " << ipa->path() + << " signature regarded as valid"; + return true; + } + #if HAVE_IPA_PUBKEY char *force = utils::secure_getenv("LIBCAMERA_IPA_FORCE_ISOLATION"); if (force && force[0] != '\0') { |