Home GnuPG
Diffusion GnuPG e3944f34e322

scd: Improve the prompts for OpenPGP cards.
e3944f34e322Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

scd: Improve the prompts for OpenPGP cards.

* scd/app-openpgp.c (get_disp_name): New.
(get_disp_serialno): New.
(get_prompt_info): New.
(build_enter_admin_pin_prompt): Rework the prompt texts.  Factor some
code out to ...
(get_remaining_tries): New.
(verify_a_chv): Print a remaining counter also for the standard PIN.
Rework the prompt texts.
* agent/divert-scd.c (ask_for_card): Pretty format an OpenPGP serial
no.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 22 2017, 1:03 PM
Parents
rG6488ffb76773: agent: Prepend the description to a PIN prompt.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGe3944f34e322: scd: Improve the prompts for OpenPGP cards. (authored by Werner Koch <wk@gnupg.org>).Feb 22 2017, 3:48 PM