Bugzilla – Bug 1052100
VUL-1: kiwi: --no-gpg-checks set by default
Last modified: 2019-12-10 10:30:27 UTC
Reported by Moritz Duge and Till Doerges from PRESENSE ============== Sadly Kiwi doesn't warn be about unsigned repos or packages, even after installing the Zypper update. ============== I had a short look at Kiwi. In modules/KIWIManagerZypper.pm we have this snippet: #========================================== # Get signature information #------------------------------------------ my $imgCheckSig = $xml -> getPreferences() -> getRPMCheckSig(); if (! $imgCheckSig) { $imgCheckSig = 'false'; } So unless it's explicitly requested by the user signature checks are disabled. It should be the other way around.
This has been addressed in the next generation kiwi space, see here: https://github.com/SUSE/kiwi/pull/369 The individual repo setup allows for an explicit setup or uses the zypper default. The option --no-gpg-checks is no longer used We are not fixing this for the legacy kiwi version