1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-09-20 14:51:42 +02:00
gnupg/scd
Werner Koch f1e3a23d9e
scd: New getinfo subcommand "dump_state".
* scd/command.c (cmd_getinfo): Add subcommand.  Always init CTRL for
simplicity.
--

A state dump looks like

  app_dump_state: card=0x00007f1b38017c90 slot=1 type=yubikey refcount=1
  app_dump_state:   app=0x00007f1b38018100 type='openpgp'
  app_dump_state:   app=0x00007f1b3800cb70 type='piv'
  app_dump_state: card=0x00007f1b38013a10 slot=0 type=gnuk refcount=0
  app_dump_state:   app=0x00007f1b38016fc0 type='openpgp'

and can also be triggered by a SIGUSR1.  This explicit command allows
to dump the state also on Windows.  Use for example

  gpg-connect-agent 'scd getinfo dump_state' /bye
2024-08-02 13:44:57 +02:00
..
apdu.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
apdu.h scd:p15: Make it code work again for D-Trust cards. 2021-02-23 12:56:42 +01:00
app-common.h scd: Add support for SCE 7.0 2024-01-04 16:29:33 +01:00
app-dinsig.c scd: Replace all assert macros by the log_assert macro. 2021-03-31 19:16:05 +02:00
app-geldkarte.c scd: Replace all assert macros by the log_assert macro. 2021-03-31 19:16:05 +02:00
app-help.c scd: Fix duplicate output of KEYPAIRINFO by readkey command. 2021-04-08 19:27:25 +02:00
app-nks.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
app-openpgp.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
app-p15.c scd: Avoid memory leak. 2024-07-22 13:32:25 +09:00
app-piv.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
app-sc-hsm.c agent,dirmngr,gpg,scd: Clean up for modern compiler. 2022-09-14 12:08:58 +09:00
app.c common: On Windows, we care about how PIPE handles are inherited. 2024-07-09 15:15:13 +09:00
atr.c scd: Replace all assert macros by the log_assert macro. 2021-03-31 19:16:05 +02:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
ccid-driver.h scd: Add support for ACR-122U 2024-03-07 13:44:00 +01:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c scd: New getinfo subcommand "dump_state". 2024-08-02 13:44:57 +02:00
iso7816.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
iso7816.h scd:p15: Support ECDSA and ECDH for CardOS. 2021-03-29 14:49:08 +02:00
Makefile.am w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +02:00
scdaemon-w32info.rc w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +02:00
scdaemon.c common: On Windows, we care about how PIPE handles are inherited. 2024-07-09 15:15:13 +09:00
scdaemon.h scd: Factor out scd_init_event function. 2024-06-25 15:34:25 +09:00
scdaemon.w32-manifest.in w32: Add missing supportedOS Ids for Windows-10 2023-05-24 14:17:06 +02:00