Home GnuPG
Diffusion GnuPG 09357d7eae3e

agent: Supply GRIP=NULL for agent_key_from_file, for real use.

Description

agent: Supply GRIP=NULL for agent_key_from_file, for real use.

* agent/findkey.c (agent_key_from_file): Change the semantics of
GRIP.  Now, it's NULL for use by PKDECRYPT and PKSIGN/PKAUTH.
* agent/pkdecrypt.c (agent_pkdecrypt): Set GRIP=NULL.
* agent/pksign.c (agent_pksign_do): Likewise.
  • GnuPG-bug-id: T5099
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 19 2022, 7:04 AM
Parents
rG1b1684cf6192: scd: Fix use of SCardListReaders for PC/SC.
Branches
Unknown
Tags
Unknown
Tasks
T5099: Confirmation dialog for remote access (restricted extra socket)