[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] daklib/gpg.py: Pass a few more options to gpg.



---
 daklib/gpg.py |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/daklib/gpg.py b/daklib/gpg.py
index 828bf64..9935c6d 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", "-"])
-- 
1.7.10.4



Reply to: