[Bug 1217690] New: libcamera: reproducible builds vs signatures
https://bugzilla.suse.com/show_bug.cgi?id=1217690 Bug ID: 1217690 Summary: libcamera: reproducible builds vs signatures Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: All Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: rfrohl@suse.com Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de CC: jengelh@inai.de Blocks: 1062303 Target Milestone: --- Found By: Development Blocker: --- While working on reproducible builds for openSUSE+ALP, I found that our libcamera package varies in every build because during build it creates a random keypair, embeds the pubkey adds .so.sign files When I asked upstream about it long ago, it was said to prevent smuggling in of 3rd party modules that shall not receive the same level of permissions as modules that are shipped as part of the main codebase. Can we patch src/libcamera/ipa_module.cpp to not use .sign files or is there another way to get reproducible build results for libcamera? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217690 https://bugzilla.suse.com/show_bug.cgi?id=1217690#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> --- I found one way to make it reproducible: --- a/src/meson.build +++ b/src/meson.build @@ -16,7 +16,7 @@ summary({ # Module Signing openssl = find_program('openssl', required : false) -if openssl.found() +if false ipa_priv_key = custom_target('ipa-priv-key', output : ['ipa-priv-key.pem'], command : [gen_ipa_priv_key, '@OUTPUT@']) This results in a warning "all IPA modules will be isolated" but what does that mean? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1217690 https://bugzilla.suse.com/show_bug.cgi?id=1217690#c5 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugs.libcamera.org/ | |show_bug.cgi?id=233 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> --- Discussing a nicer solution at https://bugs.libcamera.org/show_bug.cgi?id=233 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com