diff options
author | Joey Hess <joey@kitenet.net> | 2011-04-17 14:30:22 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-04-17 14:30:22 -0400 |
commit | 7aa668f4b488cc29fe0722f8f01071540ed56434 (patch) | |
tree | 60c76ec4eec2b6c02c7ed23b7fdf6beca9241dba /Crypto.hs | |
parent | d9690a9b5d6e706abe41fd76800ce9c526ad0b4e (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.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |