diff options
author | Joey Hess <joey@kitenet.net> | 2013-09-07 13:06:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-09-07 13:06:36 -0400 |
commit | a6ec0903618c6d82c7e5579cd52f24570923af0a (patch) | |
tree | 8ee14affea6ea3c92b7a26e16468ef5aa9b4b336 /Utility | |
parent | d56a0f01712c393b499bb12031700e1c8bd78b48 (diff) |
gpg: Force --no-textmode in case the user has it turned on in config.
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/Gpg.hs | 6 |
1 files changed, 5 insertions, 1 deletions
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 |