summaryrefslogtreecommitdiff
path: root/Crypto.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-04-17 14:30:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-04-17 14:30:22 -0400
commit7aa668f4b488cc29fe0722f8f01071540ed56434 (patch)
tree60c76ec4eec2b6c02c7ed23b7fdf6beca9241dba /Crypto.hs
parentd9690a9b5d6e706abe41fd76800ce9c526ad0b4e (diff)
Don't run gpg in batch mode, so it can prompt for passphrase when there is no agent.
Diffstat (limited to 'Crypto.hs')
-rw-r--r--Crypto.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Crypto.hs b/Crypto.hs
index bbe8a6f4c..6b5d1218a 100644
--- a/Crypto.hs
+++ b/Crypto.hs
@@ -167,7 +167,7 @@ pass to c i a = to c i $ \h -> a =<< L.hGetContents h
gpgParams :: [CommandParam] -> [String]
gpgParams params =
-- avoid prompting, and be quiet, even about checking the trustdb
- ["--batch", "--quiet", "--trust-model", "always"] ++
+ ["--quiet", "--trust-model", "always"] ++
toCommand params
gpgRead :: [CommandParam] -> IO String