// Note: Key must be without a passphrase or it wont work automagically!
SigningKeyring "/srv/backports-master.debian.org/s3kr1t/dot-gnupg/secring.gpg";
SigningPubKeyring "/srv/backports-master.debian.org/s3kr1t/dot-gnupg/pubring.gpg";
- SigningKeyIds "55BE302B";
SendmailCommand "/usr/sbin/sendmail -oi -t -f envelope@ftp-master.debian.org";
MyEmailAddress "backports.debian.org archive Installer <installer@backports.debian.org>";
MyAdminAddress "ftpmaster@backports.debian.org";
};
SigningKeyring "/srv/ftp-master.debian.org/s3kr1t/dot-gnupg/secring.gpg";
SigningPubKeyring "/srv/ftp-master.debian.org/s3kr1t/dot-gnupg/pubring.gpg";
- SigningKeyIds "55BE302B";
// SendmailCommand "/usr/sbin/sendmail -odq -oi -t -f envelope@ftp-master.debian.org";
SendmailCommand "/usr/sbin/sendmail -oi -t -f envelope@ftp-master.debian.org";
MyEmailAddress "Debian FTP Masters <ftpmaster@ftp-master.debian.org>";
keyring += " --keyring \"%s\"" % Cnf["Dinstall::SigningPubKeyring"]
arguments = "--no-options --batch --no-tty --armour"
- if Cnf.has_key("Dinstall::SigningKeyIds"):
- signkeyids = Cnf["Dinstall::SigningKeyIds"].split()
- else:
- signkeyids = [""]
+ signkeyids=Cnf.signingkeyids.split()
dest = Cnf["Dir::Root"] + tree + "/Release.gpg"
if os.path.exists(dest):
Of course, what the values do is another matter
"""
for field in [('db_revision', None, int),
- ('defaultsuitename', 'unstable', str)]:
+ ('defaultsuitename', 'unstable', str),
+ ('signingkeyids', '', str)
+ ]:
setattr(self, 'get_%s' % field[0], lambda x=None: self.get_db_value(field[0], field[1], field[2]))
setattr(Config, '%s' % field[0], property(fget=getattr(self, 'get_%s' % field[0])))