aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf.c
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2021-07-28 08:11:39 +0000
committerWerner Koch <[email protected]>2021-08-10 10:05:57 +0000
commit5976d293ef9bd953b6e9c61a45ad1f4e85a2743c (patch)
treef26584b51c71c3fed95bd1b2ba288a487509a40f /tools/gpgconf.c
parentagent: New option --pinentry-formatted-passphrase (diff)
downloadgnupg-5976d293ef9bd953b6e9c61a45ad1f4e85a2743c.tar.gz
gnupg-5976d293ef9bd953b6e9c61a45ad1f4e85a2743c.zip
agent: Add checkpin inquiry for pinentry
* 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 'tools/gpgconf.c')
0 files changed, 0 insertions, 0 deletions