pungi/pungi/phases
Lubomír Sedlář b625ccea06
Add integrity checking for builds
When a real build is downloaded, Koji can provide a checksum via API.
This commit adds verification of that checksum.

A mismatch will abort the compose. If Koji doesn't provide a checksum
for the particular sigkey, no checking will happen.

Nothing is still checked for scratch builds and images.

This patch requires Koji 1.32. When talking to an older version, there
is no checking done.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit 77f8fa25ad)
2023-11-10 16:55:44 +02:00
..
gather Add support for not having koji volume mounted locally 2023-11-10 16:55:19 +02:00
pkgset Add integrity checking for builds 2023-11-10 16:55:44 +02:00
__init__.py Add image-container phase 2021-02-09 14:47:57 +01:00
base.py Log time taken of each phase 2022-07-12 16:56:41 +08:00
buildinstall.py createiso: Update possibly changed file on DVD 2023-11-10 16:51:39 +02:00
createiso.py Fix black complaints 2023-11-10 16:50:38 +02:00
createrepo.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
extra_files.py Format code base with black 2020-02-05 17:35:47 +08:00
extra_isos.py Fix black complaints 2023-11-10 16:50:38 +02:00
image_build.py Add ability to download images 2023-11-10 16:55:20 +02:00
image_checksum.py Adding multithreading support for pungi/phases/image_checksum.py 2021-08-12 10:13:15 +02:00
image_container.py Cancel koji tasks when pungi terminated 2021-03-23 14:47:48 +08:00
init.py init: Filter comps for modular variants with tags 2022-11-03 11:11:01 +01:00
live_images.py Add ability to download images 2023-11-10 16:55:20 +02:00
livemedia_phase.py Add ability to download images 2023-11-10 16:55:20 +02:00
osbs.py osbs: only handle archives of type "image" 2022-03-17 11:04:02 -04:00
osbuild.py Add ability to download images 2023-11-10 16:55:20 +02:00
ostree.py ostree: Add configuration for custom runroot packages 2023-11-10 16:55:01 +02:00
ostree_installer.py Add skip_branding to ostree_installer. 2022-05-11 15:19:53 +02:00
phases_metadata.py Format code base with black 2020-02-05 17:35:47 +08:00
repoclosure.py Delete outdated comments 2020-04-22 17:14:51 +08:00
test.py Stop trying to validate non-existent metadata 2021-11-04 09:57:20 +01:00
weaver.py Format code base with black 2020-02-05 17:35:47 +08:00