diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-21 15:08:23 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-21 15:08:23 +0000 |
commit | 735c8718c6608f708650465759b25df3759eab13 (patch) | |
tree | 40a5516d6b58a8135ff14222c66b4eb27afdc78b | |
parent | 7b29130b70192cc4b0a40da6312a58dd7f13932a (diff) |
Make gpg's output look a little bit cleaner.
-rw-r--r-- | gnupgparse.c | 2 | ||||
-rw-r--r-- | pgpinvoke.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gnupgparse.c b/gnupgparse.c index 5d7ed814..810db81f 100644 --- a/gnupgparse.c +++ b/gnupgparse.c @@ -168,7 +168,7 @@ static KEYINFO *read_ring(struct pgp_vinfo *pgp, int secret ) 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 ) { diff --git a/pgpinvoke.c b/pgpinvoke.c index 87b95a17..e9764003 100644 --- a/pgpinvoke.c +++ b/pgpinvoke.c @@ -418,7 +418,7 @@ pid_t pgp_gpg_invoke_decode(struct pgp_vinfo *pgp, 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); @@ -438,7 +438,7 @@ pid_t pgp_gpg_invoke_verify(struct pgp_vinfo *pgp, 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); @@ -458,7 +458,7 @@ pid_t pgp_gpg_invoke_decrypt(struct pgp_vinfo *pgp, 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); @@ -495,7 +495,7 @@ pid_t pgp_gpg_invoke_sign(struct pgp_vinfo *pgp, 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), @@ -524,7 +524,7 @@ pid_t pgp_gpg_invoke_encrypt(struct pgp_vinfo *pgp, 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), |