Home GnuPG
Diffusion GnuPG ba321b60bc3b

agent: Fix secret key import for Ed25519.

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>

Details

Provenance
gniibeAuthored on Oct 30 2020, 1:23 AM
Parents
rG7ec56b033647: gpg: New command --quick-revoke-sig
Branches
Unknown
Tags
Unknown
Tasks
T5114: GnuPG fails to import back generated and exported EdDSA secret key.