aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-05-07 09:50:38 +0000
committerWerner Koch <[email protected]>2019-05-07 09:50:38 +0000
commit69e0b080f06b66eee96327617c6fbffe8a88d586 (patch)
tree2b7d104e84d71ee8ea01be3dd56e1220fa81c20d /agent/command.c
parentagent: Allow the use of "Label:" in a key file. (diff)
downloadgnupg-69e0b080f06b66eee96327617c6fbffe8a88d586.tar.gz
gnupg-69e0b080f06b66eee96327617c6fbffe8a88d586.zip
agent: If a Label is make sure that label is part of the prompt.
* agent/findkey.c (has_comment_expando): New. (agent_key_from_file): Modify DESC_TEXT. -- A Label entry in the keyfile is always set manually and thus we can assume that the user wants to have this label in the prompt. In case the prompt template does not demand a comment this patch appends a comment to thhe template. This is a common case for on-disk keys used by gpg. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'agent/command.c')
0 files changed, 0 insertions, 0 deletions