Diffusion GnuPG ba321b60bc3b

agent: Fix secret key import for Ed25519.

Authored by gniibe on Oct 30 2020, 1:23 AM.

Description

agent: Fix secret key import for Ed25519.

* agent/cvt-openpgp.c (convert_secret_key): Avoid adding 0x00 at the
beginning of MPI.

In master, we handle it as opaque MPI, but in 2.2, we use standard MPI
here.

  • GnuPG-bug-id: T5114
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>