1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-01 22:28:02 +02:00
gnupg/scd
Werner Koch 9ec8d984be
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 <wk@gnupg.org>
2020-04-07 20:38:15 +02:00
..
apdu.c scd,pcsc: Use HANDLE for context and card. 2019-09-17 19:54:52 +09:00
apdu.h scd,pcsc: Remove the restriction of no-scanning in PC/SC. 2019-09-12 08:48:48 +09:00
app-common.h scd:p15: Support signing with CardOS 5 cards. 2020-03-31 19:55:15 +02:00
app-dinsig.c scd:p15: Support signing with CardOS 5 cards. 2020-03-31 19:55:15 +02:00
app-geldkarte.c scd: First changes to implement a PIN cache. 2020-01-07 18:45:33 +01:00
app-help.c scd:p15: Support signing with CardOS 5 cards. 2020-03-31 19:55:15 +02:00
app-nks.c scd: Factor common PIN status check out. 2020-04-07 18:26:00 +02:00
app-openpgp.c scd:openpgp: New attribute "MANUFACTURER". 2020-04-03 09:56:56 +02:00
app-p15.c scd:p15: Show a pretty PIN prompt. 2020-04-07 20:38:15 +02:00
app-piv.c scd: Factor common PIN status check out. 2020-04-07 18:26:00 +02:00
app-sc-hsm.c scd:p15: Support signing with CardOS 5 cards. 2020-03-31 19:55:15 +02:00
app.c scd: New command DEVINFO. 2020-04-02 15:39:26 +09:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
ccid-driver.h scd,ccid: Add 08e6:34c2 (GEMPC_EZIO). 2019-10-15 09:40:01 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c scd: Use Gcrypt usage constants for the do_with_keygrip capabilities. 2020-04-02 11:54:01 +02:00
iso7816.c scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word. 2020-04-07 19:09:27 +02:00
iso7816.h scd: Factor common PIN status check out. 2020-04-07 18:26:00 +02:00
Makefile.am scd: Add very basic support for PIV cards. 2019-01-20 11:45:57 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c gpgconf: Further simplify the gpgconf option processing. 2020-03-14 19:12:41 +01:00
scdaemon.h scd: New command DEVINFO. 2020-04-02 15:39:26 +09:00