aboutsummaryrefslogtreecommitdiffstats
path: root/regexp
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2021-07-28 08:11:39 +0000
committerIngo Klöcker <[email protected]>2021-07-28 13:54:13 +0000
commitfb5b741568dffde5f66c76978f2939fcfd884bf6 (patch)
treedf29debe75bd9b120d83405850b6f5c3b6ec2614 /regexp
parentagent: New option --pinentry-formatted-passphrase (diff)
downloadgnupg-ikloecker/pinentry-formatted-passphrase.tar.gz
gnupg-ikloecker/pinentry-formatted-passphrase.zip
agent: Add checkpin inquiry for pinentryikloecker/pinentry-formatted-passphrase
* agent/call-pinentry.c (inq_cb): Handle checkpin inquiry. (setup_enforced_constraints): New. (agent_get_passphrase): Call setup_enforced_constraints if new passphrase is requested. -- This implements the gpg-agent side for checking whether a new passphrase entered by the user in pinentry satisfies the passphrase constraints. Performing a checkpin inquiry is only allowed if the passphrase constraints are enforced. setup_enforced_constraints sends necessary options and translated strings to pinentry. GnuPG-bug-id: 5517, 5532
Diffstat (limited to 'regexp')
0 files changed, 0 insertions, 0 deletions