X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=daklib%2Fgpg.py;h=9935c6d554a6eedc0658ed4cc14be1e5c83687ad;hb=55513d80673e99884067b8820ca1a0b3e9aeeeef;hp=828bf64906278f86db0aa13547b91356c0ba6568;hpb=9eff87cf703b5fe3310570ab30ff922e62f2957a;p=dak.git diff --git a/daklib/gpg.py b/daklib/gpg.py index 828bf649..9935c6d5 100644 --- a/daklib/gpg.py +++ b/daklib/gpg.py @@ -195,7 +195,12 @@ class SignedFile(object): fcntl.fcntl(fd, fcntl.F_SETFD, old & ~fcntl.FD_CLOEXEC) os.closerange(4, _MAXFD) - args = [self.gpg, "--status-fd=3", "--no-default-keyring"] + args = [self.gpg, + "--status-fd=3", + "--no-default-keyring", + "--batch", + "--no-tty", + "--trust-model", "always"] for k in self.keyrings: args.append("--keyring=%s" % k) args.extend(["--decrypt", "-"])