From a6ec0903618c6d82c7e5579cd52f24570923af0a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 7 Sep 2013 13:06:36 -0400 Subject: gpg: Force --no-textmode in case the user has it turned on in config. --- Utility/Gpg.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Utility/Gpg.hs') diff --git a/Utility/Gpg.hs b/Utility/Gpg.hs index faf6889a3..c45b27276 100644 --- a/Utility/Gpg.hs +++ b/Utility/Gpg.hs @@ -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 -- cgit v1.2.3