Home GnuPG
Diffusion GnuPG b2838694402c

scd: For PIV cards used NO_AUTH instead of BAD_PIN.

Description

scd: For PIV cards used NO_AUTH instead of BAD_PIN.

* common/util.h (GPG_ERR_NO_AUTH, GPG_ERR_BAD_AUTH): Add replacement
codes for gpgrt < 1.36.
* scd/app-piv.c (auth_adm_key):
(do_genkey, do_writecert): Use better error codes.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 11 2019, 9:07 AM
Parents
rG53beea56afec: scd: Implement RSA signing for PIV cards.
Branches
Unknown
Tags
Unknown