diff options
author | Ingo Klöcker <[email protected]> | 2021-07-28 08:11:39 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2021-07-28 13:54:13 +0000 |
commit | fb5b741568dffde5f66c76978f2939fcfd884bf6 (patch) | |
tree | df29debe75bd9b120d83405850b6f5c3b6ec2614 /regexp/jimregexp.c | |
parent | agent: New option --pinentry-formatted-passphrase (diff) | |
download | gnupg-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/jimregexp.c')
0 files changed, 0 insertions, 0 deletions