Home GnuPG
Diffusion GnuPG 30f90fc8574b

scd:p15: Support attribute KEY-FPR.

Description

scd:p15: Support attribute KEY-FPR.

* scd/app-p15.c: Include openpgpdefs.h.
(struct prkdf_object_s): Add fields have_keytime and ecdh_kdf.
(read_p15_info): Set ecdh_kdf.
(keygrip_from_prkdf): Flag that we have the keytime.
(send_keypairinfo): Send the key time only if valid.
(send_key_fpr_line): New.
(send_key_fpr): New.
(do_getattr): Add KEY-FPR.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 16 2021, 12:46 PM
Parents
rG2f2bdd9c0894: common: New module to compute openpgp fingerprints
Branches
Unknown
Tags
Unknown