Don't run gpg in batch mode, so it can prompt for passphrase when there is no agent.

This commit is contained in:
Joey Hess 2011-04-17 14:30:22 -04:00
parent d9690a9b5d
commit 7aa668f4b4
2 changed files with 8 additions and 1 deletions

View file

@ -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

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
git-annex (0.20110418) UNRELEASED; urgency=low
* Don't run gpg in batch mode, so it can prompt for passphrase when
there is no agent.
-- Joey Hess <joeyh@debian.org> Sun, 17 Apr 2011 14:29:49 -0400
git-annex (0.20110417) unstable; urgency=low
* bup is now supported as a special type of remote.