gnupg/sm
Justus Winter eea139c56e 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 <justus@g10code.com>
2016-03-07 18:16:37 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am sm: Implement pinentry loopback and reading passphrases from fd. 2016-03-07 18:16:37 +01:00
base64.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
call-agent.c sm: Implement pinentry loopback and reading passphrases from fd. 2016-03-07 18:16:37 +01:00
call-dirmngr.c Print warnings if old daemon versions are used. 2016-01-08 10:33:19 +01:00
certchain.c sm: Avoid warnings about useless assignments. 2016-01-07 19:09:16 +01:00
certcheck.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
certdump.c Avoid incompatible pointer assignment warnings on Windows. 2015-11-27 18:32:17 +01:00
certlist.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
certreqgen-ui.c sm: Silence compiler warnings. 2014-09-18 15:17:44 +02:00
certreqgen.c sm: Allow combination of usage flags --gen-key. 2015-10-28 18:57:53 +01:00
decrypt.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
delete.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
encrypt.c sm: Handle gcry_pk_encrypt return value. 2015-12-15 12:38:25 +09:00
export.c sm: small fix for GCC 6. 2016-01-26 11:00:53 +09:00
fingerprint.c sm: Avoid warnings about useless assignments. 2016-01-07 19:09:16 +01:00
gpgsm-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpgsm.c sm: Implement pinentry loopback and reading passphrases from fd. 2016-03-07 18:16:37 +01:00
gpgsm.h sm: Implement pinentry loopback and reading passphrases from fd. 2016-03-07 18:16:37 +01:00
import.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
keydb.c kbx: Change return type of search functions to gpg_error_t. 2016-01-13 15:08:42 +01:00
keydb.h kbx: Change return type of search functions to gpg_error_t. 2016-01-13 15:08:42 +01:00
keylist.c Add new option --with-secret. 2014-06-03 21:35:59 +02:00
minip12.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
minip12.h gpgsm: New commands --export-secret-key-{p8,raw} 2014-06-03 18:57:33 +02:00
misc.c sm,g13: Init local vars to avoid compiler warnings. 2015-01-05 15:15:37 +01:00
passphrase.c sm: Implement pinentry loopback and reading passphrases from fd. 2016-03-07 18:16:37 +01:00
passphrase.h sm: Implement pinentry loopback and reading passphrases from fd. 2016-03-07 18:16:37 +01:00
qualified.c Fix typos found using codespell. 2015-11-17 12:50:22 +01:00
server.c common: Consolidate Assuan server argument handling. 2016-03-02 14:14:33 +01:00
sign.c Fix typos spotted during translations 2012-08-24 09:44:33 +02:00
verify.c gpg,sm: Remove unnecessary duplicated checks 2015-01-23 15:30:03 +01:00