Home GnuPG
Diffusion GnuPG 4fa82eec43e8

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.

(cherry picked from commit 4275d5fa7a51731544d243ba16628a9958ffe3ce)

Details

Provenance
wernerAuthored on Oct 1 2024, 6:07 PM
Parents
rG269efd89a361: Update NEWS
Branches
Unknown
Tags
Unknown