use --trust-model always to avoid prompt from gpg
gpg prompts when encrypting to an untrusted key, but if propellor has been told to add a key, we implicitly trust it.
This commit is contained in:
parent
be27ae1503
commit
7ea0f460e6
|
@ -93,6 +93,7 @@ gpgEncrypt f s = do
|
|||
[ "--default-recipient-self"
|
||||
, "--armor"
|
||||
, "--encrypt"
|
||||
, "--trust-model", "always"
|
||||
] ++ concatMap (\k -> ["--recipient", k]) keyids
|
||||
encrypted <- writeReadProcessEnv "gpg" opts
|
||||
Nothing
|
||||
|
|
Loading…
Reference in New Issue