From: Anthony Towns Date: Tue, 6 Mar 2001 04:29:21 +0000 (+0000) Subject: Release.gpg support X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=1c3f12a092b938e96e06455531ed009c46c35306;p=dak.git Release.gpg support --- diff --git a/katie.conf b/katie.conf index d521d73c..c5de0234 100644 --- a/katie.conf +++ b/katie.conf @@ -16,6 +16,7 @@ Dinstall PGPKeyring "/org/keyring.debian.org/keyrings/debian-keyring.pgp"; GPGKeyring "/org/keyring.debian.org/keyrings/debian-keyring.gpg"; + SigningKeyring "/org/ftp.debian.org/s3kr1t/dot-gnupg/secring.gpg"; SendmailCommand "/usr/sbin/sendmail -oi -t"; MyEmailAddress "Debian Installer "; MyHost "debian.org"; // used for generating user@my_host addresses in e.g. manual_reject() diff --git a/ziyi b/ziyi index 95eb1fd6..67eab957 100755 --- a/ziyi +++ b/ziyi @@ -3,7 +3,7 @@ # Create all the Release files # Copyright (C) 2001 Anthony Towns -# $Id: ziyi,v 1.1 2001-03-02 02:25:15 troup Exp $ +# $Id: ziyi,v 1.2 2001-03-06 04:29:21 ajt Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -176,6 +176,12 @@ def main (): else: print "ALERT: no tree/bindirectory for %s" % (tree) + out.close() + if Cnf.has_key("Dinstall::SigningKeyring"): + os.system("gpg --secret-keyring \"%s\" --no-options --batch --no-tty --armour --detach-sign <%s >%s" % (Cnf["Dinstall::SigningKeyring"], + Cnf["Dir::RootDir"] + tree + "/Release", + Cnf["Dir::RootDir"] + tree + "/Release.gpg")) + ####################################################################################### if __name__ == '__main__':