aboutsummaryrefslogtreecommitdiffstats
path: root/g10/t-stutter.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-03-07 17:09:41 +0000
committerJustus Winter <[email protected]>2016-03-07 17:16:37 +0000
commiteea139c56ef55081d8cd8df2a35ce507386e0f17 (patch)
tree1cda1181beca082d53b439311b84b7639e940a8c /g10/t-stutter.c
parentsm: Remove unused argument '--fixed-passphrase'. (diff)
downloadgnupg-eea139c56ef55081d8cd8df2a35ce507386e0f17.tar.gz
gnupg-eea139c56ef55081d8cd8df2a35ce507386e0f17.zip
sm: Implement pinentry loopback and reading passphrases from fd.
* doc/gpgsm.texi: Document '--pinentry-mode' and '--passphrase-fd'. * sm/Makefile.am (gpgsm_SOURCES): Add new files * sm/call-agent.c (struct default_inq_parm_s): New definition. (start_agent): Pass in the pinentry mode. (default_inq_cb): Handle 'PASSPHRASE' and 'NEW_PASSPHRASE' inquiries. Adapt all call sites to the new callback cookie. * sm/gpgsm.c (cmd_and_opt_values): Add new values. (opts): Add new options. (main): Handle new options. * sm/gpgsm.h (struct opt): Add field 'pinentry_mode'. * sm/passphrase.c: New file. * sm/passphrase.h: Likewise. GnuPG-bug-id: 1970 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'g10/t-stutter.c')
0 files changed, 0 insertions, 0 deletions