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