Home GnuPG
Diffusion GnuPG 3ba091ab8c93

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

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

Provenance
dkgAuthored on Jul 23 2019, 4:07 PM
gniibeCommitted on Jul 26 2019, 2:53 AM
Parents
rGfd9e6ae22eb9: gpg: photoid: Use standard spawn API.
Branches
Unknown
Tags
Unknown
Tasks
T4652: avoid unnecessary trailing NUL byte in S-expressions