diff options
author | Werner Koch <[email protected]> | 2005-05-23 20:18:13 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2005-05-23 20:18:13 +0000 |
commit | a43586d0e81b538009fc86f260592e52d54ef42c (patch) | |
tree | 37bf664723cdeca2297f465e4857aae59f6ef7ec /scd/command.c | |
parent | (parse_ccid_descriptor): SCR335 FW version 5.14 is (diff) | |
download | gnupg-a43586d0e81b538009fc86f260592e52d54ef42c.tar.gz gnupg-a43586d0e81b538009fc86f260592e52d54ef42c.zip |
* Makefile.am: Do not build sc-copykeys anymore.
* app-openpgp.c (app_openpgp_storekey, app_openpgp_readkey)
(app_openpgp_cardinfo): Removed.
Diffstat (limited to 'scd/command.c')
-rw-r--r-- | scd/command.c | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/scd/command.c b/scd/command.c index c68d0e925..738b1f003 100644 --- a/scd/command.c +++ b/scd/command.c @@ -1095,7 +1095,7 @@ cmd_random (assuan_context_t ctx, char *line) /* PASSWD [--reset] <chvno> - Change the PIN or reset thye retry counter of the card holder + Change the PIN or reset the retry counter of the card holder verfication vector CHVNO. */ static int cmd_passwd (assuan_context_t ctx, char *line) @@ -1142,7 +1142,23 @@ cmd_passwd (assuan_context_t ctx, char *line) } -/* CHECKPIN <hexified_id> +/* CHECKPIN <idstr> + + Perform a VERIFY operation without doing anything else. This may + be used to initialize a the PIN cache earlier to long lasting + operations. Its use is highly application dependent. + + For OpenPGP: + + Perform a simple verify operation for CHV1 and CHV2, so that + further operations won't ask for CHV2 and it is possible to do a + cheap check on the PIN: If there is something wrong with the PIN + entry system, only the regular CHV will get blocked and not the + dangerous CHV3. IDSTR is the usual card's serial number in hex + notation; an optional fingerprint part will get ignored. There + is however a special mode if the IDSTR is sffixed with the + literal string "[CHV3]": In this case the Admin PIN is checked + if and only if the retry counter is still at 3. */ static int |