{"id":18788,"url":"https://patchwork.libcamera.org/api/covers/18788/?format=json","web_url":"https://patchwork.libcamera.org/cover/18788/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20230704234422.11863-1-laurent.pinchart@ideasonboard.com>","date":"2023-07-04T23:44:20","name":"[libcamera-devel,v2,0/2] libcamera: Add an application to verify IPA module signatures","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/18788/mbox/","series":[{"id":3954,"url":"https://patchwork.libcamera.org/api/series/3954/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3954","date":"2023-07-04T23:44:20","name":"libcamera: Add an application to verify IPA module signatures","version":2,"mbox":"https://patchwork.libcamera.org/series/3954/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/18788/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 25C1BBE175\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  4 Jul 2023 23:44:25 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5A2B0628C1;\n\tWed,  5 Jul 2023 01:44:24 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A537D61E38\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  5 Jul 2023 01:44:22 +0200 (CEST)","from pendragon.ideasonboard.com (85-160-42-71.reb.o2.cz\n\t[85.160.42.71])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id F38108CC\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  5 Jul 2023 01:43:37 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1688514264;\n\tbh=nzBuhtF/BYv0CfA6W1HxeJMEOe0xHgtl2m75R1dNs88=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=u9PQG881xWzso4YRywnpK0JSXyJ9ye+ihtny0QSM+BYwzvinpym0fQRMeghxjof3d\n\tu/FWunIygsyajuHkHmHaOVuPFIX9Bo3krWZssEWbYwBUvniVaF72GiSNhQDhy0EkvL\n\tJzdnZhWljWszRG6+Y+XUjpwPApPNtFgmZ27nWP4sptFI0EHfYqjJ2g63M/k3e+Ay7b\n\t9m/wh8oxwQ+K45cqHwYXG1P3DfoxZoM3B3YhS4z8VIeQfNldhQrSfBKYmdhxPN14ez\n\tb5/YW0VrgcCX0/3DKE4+nuL8LjNyR+JNi4Ade/HPFUgS9SCcGPf3ocOglQdf8CCa2F\n\tCcJGIDX4igRlg==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1688514218;\n\tbh=nzBuhtF/BYv0CfA6W1HxeJMEOe0xHgtl2m75R1dNs88=;\n\th=From:To:Subject:Date:From;\n\tb=O4caaKQH8DQY4MNfT0lgRq3T0b4fi1yo2zv51yZPaznsqeCClgTiAB4BTeim33wk2\n\tDokPo03F9t/arvnZLPJh5YhY6yep4oYbbnKBx/j0z3LkLuOrJpvBzcBlDK0OgVhKZi\n\tvrGA8ImvJUYz1Zb5ilORIxIO1iuErSvep/qnq8y0="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"O4caaKQH\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Wed,  5 Jul 2023 02:44:20 +0300","Message-Id":"<20230704234422.11863-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.39.3","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 0/2] libcamera: Add an application to\n\tverify IPA module signatures","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hello,\n\nThis small series adds a new utility, named ipa-verify, to verify\nsignatures of IPA modules. This is useful for packagers who want to\nensure the packaging process doesn't break signatures.\n\nPatch 1/2 fixes a bug in the Doxygen documentation generation that\ndidn't take macros defined in config.h into account. Patch 2/2 then adds\nthe ipa-verify utility.\n\nI would have liked to add the utility to the utils/ directory instead of\nsrc/apps/, but that wasn't possible due to the utils/ directory being\nprocessed by meson before src/ipa/ and src/libcamera/. I didn't\ninvestigate alternative options much, but I can if desired.\n\nAnother thing that bothers me slightly in patch 2/2 is the addition of\nthe IPAManager::pubKey() function. Ideally the API exposed by internal\nclasses shouldn't be driven by the need of external tools. I would\nprobably consider it to be a bigger issue for classes exposed through\nthe public API, but as IPAManager is internal, it's probably not too big\nof a deal.\n\nLaurent Pinchart (2):\n  Documentation: Add predefined macros from config.h to Doxyfile\n  apps: Add ipa-verify application\n\n Documentation/Doxyfile.in                |  3 +-\n Documentation/meson.build                |  7 +++\n include/libcamera/internal/ipa_manager.h |  7 +++\n src/apps/ipa-verify/main.cpp             | 64 ++++++++++++++++++++++++\n src/apps/ipa-verify/meson.build          | 15 ++++++\n src/apps/meson.build                     |  2 +\n src/libcamera/ipa_manager.cpp            | 13 +++++\n 7 files changed, 110 insertions(+), 1 deletion(-)\n create mode 100644 src/apps/ipa-verify/main.cpp\n create mode 100644 src/apps/ipa-verify/meson.build\n\n\nbase-commit: 8da938b00705c7bdc188174f45ee485d0880ee1e"}