Patch out IPA signature validation in libcamera
This commit is contained in:
parent
6205824c0d
commit
37d56b613e
25
overlays/0001-Ignore-IPA-signing.patch
Normal file
25
overlays/0001-Ignore-IPA-signing.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 625939e594ce255afa3fab3a40c3e524460e1f8b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jordan Holt <jordan@vimium.com>
|
||||||
|
Date: Sat, 10 Aug 2024 18:28:08 +0100
|
||||||
|
Subject: [PATCH] Ignore IPA signing
|
||||||
|
|
||||||
|
---
|
||||||
|
src/libcamera/ipa_manager.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/libcamera/ipa_manager.cpp b/src/libcamera/ipa_manager.cpp
|
||||||
|
index 6d5bbd05..43004175 100644
|
||||||
|
--- a/src/libcamera/ipa_manager.cpp
|
||||||
|
+++ b/src/libcamera/ipa_manager.cpp
|
||||||
|
@@ -295,7 +295,7 @@ bool IPAManager::isSignatureValid([[maybe_unused]] IPAModule *ipa) const
|
||||||
|
if (data.empty())
|
||||||
|
return false;
|
||||||
|
|
||||||
|
- bool valid = pubKey_.verify(data, ipa->signature());
|
||||||
|
+ bool valid = true;
|
||||||
|
|
||||||
|
LOG(IPAManager, Debug)
|
||||||
|
<< "IPA module " << ipa->path() << " signature is "
|
||||||
|
--
|
||||||
|
2.44.1
|
||||||
|
|
@ -7,6 +7,7 @@ final: prev:
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./0001-Remove-relative-config-lookups.patch
|
./0001-Remove-relative-config-lookups.patch
|
||||||
|
./0001-Ignore-IPA-signing.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
mesonFlags = old.mesonFlags ++ [
|
mesonFlags = old.mesonFlags ++ [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user