1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00
gnupg/agent
Werner Koch 6488ffb767
agent: Prepend the description to a PIN prompt.
* agent/divert-scd.c (has_percent0A_suffix): New.
(getpin_cb): Prepend DESC_TEXT to the prompt.
* agent/findkey.c (modify_description): Rename to ...
(agent_modify_description): this.  MAke global.  Add kludge to remove
empty parentheses from the end.
(agent_key_from_file, agent_delete_key): Adjust for above change.
* agent/pksign.c (agent_pksign_do): Modify DESC_TEXT also when
diverting to a card.
--

Now that we have support for multiple tokens, it is important to show
information on which key has been requested.  Without that it may
happen that the PIN for a wrong card is accidentally entered.

The texts are a bit ugly, because they talk about "passphrase" but
later about entering a PIN.

A quick hack would be to s/passphrase/PIN/ in the description but that
is complicated due to i18n.  Another solution might be never to talk
about PINs in the description but always about "passphrase: and only
use "PIN" or "passphrase" on the left of the entry field.
2017-02-22 11:04:55 +01:00
..
agent.h agent: Prepend the description to a PIN prompt. 2017-02-22 11:04:55 +01:00
cache.c Fix explanation of commit e175152ef7. 2017-02-01 08:18:44 +01:00
call-pinentry.c agent: Tell pinentry the hostname the agent is running on. 2017-02-03 21:16:26 +01:00
call-scd.c agent: Prepare to pass an additional parameter to the getpin callback. 2017-02-22 09:40:50 +01:00
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
command-ssh.c Clean up word replication. 2017-02-21 13:11:46 -05:00
command.c Clean up word replication. 2017-02-21 13:11:46 -05:00
cvt-openpgp.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c agent: Prepend the description to a PIN prompt. 2017-02-22 11:04:55 +01:00
findkey.c agent: Prepend the description to a PIN prompt. 2017-02-22 11:04:55 +01:00
genkey.c Clean up word replication. 2017-02-21 13:11:46 -05:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c Clean up word replication. 2017-02-21 13:11:46 -05:00
keyformat.txt Clean up word replication. 2017-02-21 13:11:46 -05:00
learncard.c agent: Ask specific SERIALNO for pksign/pkdecrypt. 2017-01-16 10:33:08 +09:00
Makefile.am Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
pkdecrypt.c agent: Prepare to pass an additional parameter to the getpin callback. 2017-02-22 09:40:50 +01:00
pksign.c agent: Prepend the description to a PIN prompt. 2017-02-22 11:04:55 +01:00
preset-passphrase.c Clean up word replication. 2017-02-21 13:11:46 -05:00
protect-tool.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
protect.c Clean up word replication. 2017-02-21 13:11:46 -05:00
t-protect.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trans.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trustlist.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
w32main.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00