Home GnuPG
Diffusion GnuPG 052f58422dca

agent,scd: Make sure to set CONFIDENTIAL flag in Assuan.

Description

agent,scd: Make sure to set CONFIDENTIAL flag in Assuan.

* agent/call-scd.c (inq_needpin): Call assuan_begin_confidential
and assuan_end_confidential, and wipe the memory after use.
* agent/command.c (cmd_preset_passphrase): Likewise.
(cmd_put_secret): Likewise.
* scd/command.c (pin_cb): Likewise.
  • GnuPG-bug-id: T5977
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 25 2022, 7:53 AM
Parents
rG8e859331eafc: agent: Add missing assuan_end_confidential call.
Branches
Unknown
Tags
Unknown
Tasks
T5977: Smartcard PIN stays in clear in memory