Home GnuPG
Diffusion Scute f31e6af6e2d9

Do not request certificate data when LEARNing.
f31e6af6e2d9Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Do not request certificate data when LEARNing.

* src/agent.c (scute_agent_learn): Use LEARN --sendinfo instead
of LEARN --send.

Using --send is useless here and we don't even collect the data
that the agent may send (no data callback), which may cause the
LEARN command to fail.

Of note, the --sendinfo option is available since GnuPG 2.1.1,
meaning Scute would not work anymore with GnuPG 2.0.x. Since that
branch is now EOLed, this should not be a concern.

  • Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>

Details

Provenance
gouttegdAuthored on May 20 2018, 12:03 AM
Parents
rS8b01c156a2dd: Clean up files generated by make check.
Branches
Unknown
Tags
Unknown