Home GnuPG
Diffusion GnuPG 696d4c290dd4

scd:piv: Allow writecert to only write matching certs.

Description

scd:piv: Allow writecert to only write matching certs.

* scd/app-piv.c (do_readkey): Read the key from the cert here instead
of letting the upper layer do this.
(do_writecert): Check that the cert matches the key and that a key has
already been generated.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 1 2019, 12:58 PM
Parents
rG280baee72dcb: card: Remove the "admin" command.
Branches
Unknown
Tags
Unknown