2 ===================================================================
3 RCS file: /cvs/dak/dak/katie,v
4 retrieving revision 1.28
6 --- katie 2001/02/06 00:39:44 1.28
7 +++ katie 2001/02/09 18:14:49
9 def check_signature (filename):
12 - (result, output) = commands.getstatusoutput("gpg --emulate-md-encode-bug --batch --no-options --no-default-keyring --always-trust --keyring=%s --keyring=%s < %s >/dev/null" % (Cnf["Dinstall::PGPKeyring"], Cnf["Dinstall::GPGKeyring"], filename))
13 + if Cnf.FindB("Dinstall::NoSigCheck"):
16 + for keyring in Cnf.ValueList("Dinstall::Keyrings"):
17 + keyrings = keyrings + " --keyring " + keyring;
19 + (result, output) = commands.getstatusoutput("gpg --emulate-md-encode-bug --batch --no-options --no-default-keyring --always-trust %s < %s >/dev/null" % (keyrings, filename))
21 reject_message = "Rejected: GPG signature check failed on `%s'.\n%s\n" % (os.path.basename(filename), output)