Home GnuPG
Diffusion GnuPG 64500e7f6dd6

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.

Cherry-pick master commit of:
3ba091ab8c93c87741a451f579d63dd500d7621d

  • 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 Aug 12 2019, 3:40 AM
Parents
rG879660bf4581: scd: Handle CCID bwi of time extension.
Branches
Unknown
Tags
Unknown
Tasks
T4652: avoid unnecessary trailing NUL byte in S-expressions