Home GnuPG
Diffusion GnuPG 4275d5fa7a51

agent: Add option --status to the LISTRUSTED command.

Description

agent: Add option --status to the LISTRUSTED command.

* agent/trustlist.c (istrusted_internal): Add arg listmode and print
new status line in this mode.  Adjust callers.
(agent_listtrusted): Add new args ctrl and status_mode.  Get all
trusted keys and then call is_trusted_internal for all of them.
* agent/command.c (cmd_listtrusted): Add new option --status.

This allows in a non-restricted connection to list all trusted keys in
one go.

Details

Provenance
wernerAuthored on Oct 1 2024, 6:07 PM
Parents
rGf50dde6269bd: gpgsm: Possible improvement for some rare P12 files.
Branches
Unknown
Tags
Unknown