diff options
author | Werner Koch <[email protected]> | 2020-04-07 18:38:15 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-04-07 18:38:15 +0000 |
commit | 9ec8d984be4676126843d5aa7dfd0b7d71eff13c (patch) | |
tree | d49519310ede4c1495cdaef459af92ca2c1f211d /dirmngr/validate.c | |
parent | scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word. (diff) | |
download | gnupg-9ec8d984be4676126843d5aa7dfd0b7d71eff13c.tar.gz gnupg-9ec8d984be4676126843d5aa7dfd0b7d71eff13c.zip |
scd:p15: Show a pretty PIN prompt.
* scd/app-p15.c (struct prkdf_object_s): New fields common_name and
serial_number.
(release_prkdflist): Free them.
(keygrip_from_prkdf): Parse cert and set them.
(any_control_or_space): New.
(make_pin_prompt): New.
(verify_pin): Construct a pretty PIN prompt.
(do_sign): Remove debug output.
--
The D-Trust card has the SerialNumber part of the Subject printed on
the front matter, we assume this is also possible with other cards and
thus we show this as serial number.
The holder of the card is also extracted from the card's subject.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/validate.c')
0 files changed, 0 insertions, 0 deletions