* passphrase.c (agent_get_passphrase): New args CUSTOM_PROMPT and
authorWerner Koch <wk@gnupg.org>
Thu, 9 Dec 2004 16:57:30 +0000 (16:57 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 9 Dec 2004 16:57:30 +0000 (16:57 +0000)
commit9e52cf2758b4a572746c0746ae0b8cec5dbfba67
tree75199febee7f8fed7e43363ae2b6488b3741a244
parent53ae3604570fbd9ce2a6771ef9bd4fd897e24993
* passphrase.c (agent_get_passphrase): New args CUSTOM_PROMPT and
CUSTOM_DESCRIPTION.  Changed all callers.

* app-openpgp.c (do_getattr, do_learn_status, do_setattr): Support
the new private DOs.
(do_change_pin): Add a "N" prefix to the strings so that the
callback can act accordingly for a new PIN.  Unfortunately this
breaks existing translations but I see no wother way to overvome
this.

* cardglue.c (learn_status_cb): Ditto.
(agent_release_card_info): Ditto.
(struct pin_cb_info_s): Removed and changed all users.
(pin_cb): Reworked.

* card-util.c (card_status): Print them
(card_edit): New command PRIVATEDO.
(change_private_do): New.
g10/ChangeLog
g10/app-openpgp.c
g10/card-util.c
g10/cardglue.c
g10/cardglue.h
g10/passphrase.c