Home GnuPG
Diffusion GnuPG 07e8ca2a9b54

gpg: Use ECC KEM interface for decryption.

Description

gpg: Use ECC KEM interface for decryption.

* g10/call-agent.c (agent_pkdecrypt): Use --kem=PGP for
PUBKEY_ALGO_ECDH.
* g10/pubkey-enc.c (ecdh_sexp_build): New.
(get_it): Use ecdh_sexp_build for PUBKEY_ALGO_ECDH.  And don't use
pk_ecdh_decrypt since it's done by agent.
  • GnuPG-bug-id: T7649
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Thu, May 22, 7:36 AM
Parents
rG04782e7fd629: agent: Add support for TPM2 for ECC KEM.
Branches
Unknown
Tags
Unknown
Tasks
T7649: gnupg: Use KEM interface for encryption/decryption