diff --git a/src/engine-gpg.c b/src/engine-gpg.c index 3ddaa07f..1b0e4c95 100644 --- a/src/engine-gpg.c +++ b/src/engine-gpg.c @@ -2136,6 +2136,8 @@ gpg_createkey (engine_gpg_t gpg, err = add_arg (gpg, "--passphrase"); if (!err) err = add_arg (gpg, ""); + if (!err) + err = add_arg (gpg, "--batch"); } if (!err && (flags & GPGME_CREATE_FORCE)) err = add_arg (gpg, "--yes");