Home GnuPG
Diffusion GnuPG aeee62593ae9

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.
* scd/command.c (pin_cb): Likewise.

Backport the change of master commit of:
052f58422dca1044aba7acb4cf57416e7a8cb01f

  • GnuPG-bug-id: T5977
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 25 2022, 7:53 AM
Parents
rGcc1d475f98ba: dirmngr,w32: Silence compiler warnings for the LDAP API.
Branches
Unknown
Tags
Unknown
Tasks
T5977: Smartcard PIN stays in clear in memory