Home GnuPG
Diffusion GnuPG 295a6a759197

agent: Handle USAGE information in KEYINFO.

Description

agent: Handle USAGE information in KEYINFO.

* agent/agent.h (struct card_key_info_s): Add USAGE field.
* agent/call-scd.c (card_keyinfo_cb): Parse USAGE field.
Allow optional SERIALNO, IDSTR, and USAGE fields.
Fix releasing on possible allocation error.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 26 2022, 6:35 AM
Parents
rG5264d3f58e8a: scd: Return USAGE information for KEYINFO command.
Branches
Unknown
Tags
Unknown