if((devnull = open("/dev/null", O_RDWR)) == -1)
return NULL;
- thepid = gpg_invoke_list_keys(pgp, NULL, &fp, NULL, devnull, -1, devnull,
+ thepid = gpg_invoke_list_keys(pgp, NULL, &fp, NULL, -1, -1, devnull,
NULL, secret);
if( thepid == -1 )
{
char *_fname = mutt_quote_filename(fname);
snprintf(cmd, sizeof(cmd),
- "%s%s --no-verbose --batch --status-fd 2 -o - %s",
+ "%s%s --no-verbose --batch -o - %s",
NONULL(binary), need_passphrase? " --passphrase-fd 0":"",
_fname);
char *_sig = mutt_quote_filename(sigfile);
snprintf(cmd, sizeof(cmd),
- "%s --no-verbose --batch --status-fd 2 -o - "
+ "%s --no-verbose --batch -o - "
"--verify %s %s",
NONULL(binary), _sig, _sign);
char *_fname = mutt_quote_filename(fname);
snprintf(cmd, sizeof(cmd),
- "%s --passphrase-fd 0 --no-verbose --batch --status-fd 2 -o - "
+ "%s --passphrase-fd 0 --no-verbose --batch -o - "
"--decrypt %s",
NONULL(binary), _fname);
char *_fname = mutt_quote_filename(fname);
snprintf(cmd, sizeof(cmd),
- "%s --no-verbose --batch --status-fd 2 -o - "
+ "%s --no-verbose --batch -o - "
"--passphrase-fd 0 --digest-algo %s "
"--detach-sign --textmode --armor %s%s %s",
NONULL(binary),
char *_fname = mutt_quote_filename(fname);
snprintf(cmd, sizeof(cmd),
- "%s%s --no-verbose -v --batch --status-fd 2 -o - "
+ "%s%s --no-verbose -v --batch -o - "
"--digest-algo %s "
"--encrypt%s --textmode --armor --always-trust %s%s",
NONULL(binary),