gpg: Force --no-textmode in case the user has it turned on in config.

This commit is contained in:
Joey Hess 2013-09-07 13:06:36 -04:00
parent 01d857824d
commit 0a2f5f3993
3 changed files with 8 additions and 1 deletions

View file

@ -59,7 +59,11 @@ stdParams params = do
{- Usual options for symmetric / public-key encryption. -}
stdEncryptionParams :: Bool -> [CommandParam]
stdEncryptionParams symmetric = [enc symmetric, Param "--force-mdc"]
stdEncryptionParams symmetric =
[ enc symmetric
, Param "--force-mdc"
, Param "--no-textmode"
]
where
enc True = Param "--symmetric"
-- Force gpg to only encrypt to the specified recipients, not

1
debian/changelog vendored
View file

@ -23,6 +23,7 @@ git-annex (4.20130828) UNRELEASED; urgency=low
* Fix Feeds display in build flags.
* Remind user when annex-ignore is set for some remotes, if unable to
get or drop a file, possibly because it's on an ignored remote.
* gpg: Force --no-textmode in case the user has it turned on in config.
-- Joey Hess <joeyh@debian.org> Tue, 27 Aug 2013 11:03:00 -0400

View file

@ -19,3 +19,5 @@ A workaround is to remove "textmode" from your gpg.conf, but git-annex should fo
7ae625363bcb6e1fc8b3733c1d7814aca05a2368 on Ubuntu 13.04 x86_64
> The sheer number of ways gpg offers of shooting yourself in the foot..
> Ok [[done]] --[[Joey]]