Diffusion GnuPG 3ba091ab8c93

gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators.

Authored by dkg on Jul 23 2019, 4:07 PM.

Description

gpg,gpgsm: Handle pkdecrypt responses with/without NUL terminators.

* g10/call-agent.c (agent_pkdecrypt): accept but do not require
NUL-terminated data from the agent.
* sm/call-agent.c (gpgsm_agent_pkdecrypt): accept but do not require
NUL-terminated data from the agent.
  • GnuPG-bug-id: T4652
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details