gpg: Force --no-textmode in case the user has it turned on in config.
This commit is contained in:
parent
01d857824d
commit
0a2f5f3993
3 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue