X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fgpg.py;h=9935c6d554a6eedc0658ed4cc14be1e5c83687ad;hb=cfb8506cad36cf393eef402f3929617d3dddd190;hp=828bf64906278f86db0aa13547b91356c0ba6568;hpb=dbd3ceac44904f678181a189f34dc75c56178953;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", "-"])