Home GnuPG
Diffusion GnuPG 2d9592e78f49

card: Allow to store and retrieve keyblocks in OpenPGP cards.

Description

card: Allow to store and retrieve keyblocks in OpenPGP cards.

* tools/gpg-card.c: Include tlv.h.
(cmd_writecert): Add option --openpgp.
(cmd_readcert): Ditto.

We use the CERT object for this and encapsulate the key block in a CMS
object.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 28 2020, 3:55 PM
Parents
rGed0759f39be0: card: New command "apdu"
Branches
Unknown
Tags
Unknown