summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/RPMng.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/RPMng.py b/src/lib/Client/Tools/RPMng.py
index 27bae2552..6dca8e142 100644
--- a/src/lib/Client/Tools/RPMng.py
+++ b/src/lib/Client/Tools/RPMng.py
@@ -279,7 +279,8 @@ class RPMng(Bcfg2.Client.Tools.PkgTool):
if self.pkg_verify == 'true' and \
inst.get('pkg_verify', 'true') == 'true':
flags = inst.get('verify_flags', '').split(',') + self.verify_flags
- if pkg.get('gpgkeyid', '')[-8:] not in self.gpg_keyids:
+ if pkg.get('gpgkeyid', '')[-8:] not in self.gpg_keyids and \
+ 'nosignature' not in flags:
flags += ['nosignature', 'nodigest']
self.logger.info('WARNING: Package %s %s requires GPG Public key with ID %s'\
% (pkg.get('name'), self.str_evra(pkg), \