1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-29 19:48:43 +01:00
gnupg/sm
Werner Koch 18081e2ecf
gpgsm: Terminate key listing on output write error.
* sm/keylist.c (list_internal_keys): Detect write errors to the output
stream.

* sm/server.c (any_failure_printed): New var.
(gpgsm_status2): Handle new var.  Move statusfp init to ...
(gpgsm_init_statusfp): new function.
(gpgsm_exit_failure_status): New.
* sm/gpgsm.c (main): Explicit statusfp init.
(gpgsm_exit): Print failure status on error.
--
Test by using

  gpgsm -k >/dev/full
  gpgsm -k --wit-colons >/dev/full

and also by redirecting to a file on a small partition.

GnuPG-bug-id: 6185
2024-10-23 11:43:08 +02:00
..
call-agent.c gpgsm: Fix cached istrusted lookup. 2024-10-15 09:45:55 +02:00
call-dirmngr.c dirmngr: Print a brief list of URLs with LISTCRLS. 2024-10-14 16:48:37 +02:00
certchain.c gpgsm: Silence messages about dirmngr cache lookup failed. 2024-09-30 18:47:31 +02:00
certcheck.c gpgsm: Avoid double free when checking rsaPSS signatures. 2024-05-28 17:15:03 +02:00
certdump.c gpgsm: New option --no-pretty-dn 2023-03-16 09:46:05 +01:00
certlist.c gpgsm: Add --always-trust feature. 2023-08-31 12:30:26 +02:00
certreqgen-ui.c gpgsm: Allow to add extensions at the --gen-key prompt. 2024-03-27 12:12:52 +01:00
certreqgen.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
decrypt.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
delete.c sm: Implement delete key in keyboxd mode 2020-09-21 09:20:40 +02:00
encrypt.c common,gpg,scd,sm: Fix for Curve25519 OID supporting new and old. 2024-10-08 15:25:41 +09:00
export.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
fingerprint.c common,gpg,scd,sm: Use openpgp_oid_or_name_to_curve to get curve. 2024-10-08 14:58:29 +09:00
gpgsm-w32info.rc w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +02:00
gpgsm.c gpgsm: Terminate key listing on output write error. 2024-10-23 11:43:08 +02:00
gpgsm.h gpgsm: Terminate key listing on output write error. 2024-10-23 11:43:08 +02:00
gpgsm.w32-manifest.in w32: Add missing supportedOS Ids for Windows-10 2023-05-24 14:17:06 +02:00
import.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
keydb.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
keydb.h sm: Implement initial support for keyboxd. 2020-09-10 13:05:17 +02:00
keylist.c gpgsm: Terminate key listing on output write error. 2024-10-23 11:43:08 +02:00
Makefile.am sm: Major rewrite of the PKCS#12 parser 2023-06-28 17:34:19 +02:00
minip12.c common,gpg,scd,sm: Fix for Curve25519 OID supporting new and old. 2024-10-08 15:25:41 +09:00
minip12.h gpgsm: Allow parsing of PKCS#12 files with two private keys. 2024-01-15 09:56:07 +01:00
misc.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
passphrase.c gpg,common,scd,sm: Function prototype fixes for modern compiler. 2022-09-13 16:34:00 +09:00
passphrase.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
qualified.c Replace most of the remaining stdio calls by estream calls. 2020-10-20 12:15:56 +02:00
server.c gpgsm: Terminate key listing on output write error. 2024-10-23 11:43:08 +02:00
sign.c Merge branch 'STABLE-BRANCH-2-4' 2023-12-22 13:45:02 +01:00
t-minip12.c sm: Add a debug helper command to t-minip12.c 2024-08-06 15:59:26 +02:00
verify.c gpgsm: New option --assert-signer 2024-09-11 14:30:40 +02:00