1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-06 23:17:47 +02:00
gnupg/doc
Werner Koch 21feecd48f gpg: Add pinentry-mode feature.
* g10/gpg.c: Include shareddefs.h.
(main): Add option --pinentry-mode.
* g10/options.h (struct opt): Add field pinentry_mode.
* g10/passphrase.c: Include shareddefs.h.
(have_static_passphrase): Take care of loopback pinentry_mode.
(read_passphrase_from_fd): Ditto.
(get_static_passphrase): New.
(passphrase_to_dek_ext): Factor some code out to ...
(emit_status_need_passphrase): new.
* g10/call-agent.c (start_agent): Send the pinentry mode.
(default_inq_cb): Take care of the PASSPHRASE inquiry.  Return a
proper error code.
(agent_pksign): Add args keyid, mainkeyid and pubkey_algo.
(agent_pkdecrypt): Ditto.
* g10/pubkey-enc.c (get_it): Pass new args.
* g10/sign.c (do_sign): Pass new args.

* g10/call-agent.c (struct default_inq_parm_s): New.  Change all
similar structs to reference this one.  Change all users and inquire
callback to use this struct, instead of NULL or some undefined but not
used structs.  This change will help to eventually get rid of global
variables.
--

This new features allows to use gpg without a Pinentry.  As a
prerequisite the agent must be configured to allow the loopback
pinentry mode (option --allow-loopback-pinentry).  For example

  gpg2 --pinentry-mode=loopback FILE.gpg

may be used to decrypt FILE.gpg while entering the passphrase on the
tty.  If batch is used, --passphrase et al. may be used, if
--command-fd is used, the passphrase may be provided by another
process.  Note that there are no try-again prompts in case of a bad
passphrase.
2013-02-07 20:37:58 +01:00
..
examples add new certifciates 2008-06-25 11:14:48 +00:00
a-decade-of-gnupg.txt Workaround for a mingw runtime bug. 2008-09-04 10:35:41 +00:00
announce-2.0.txt sm/ 2006-11-14 10:23:21 +00:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
com-certs.pem Add the STEED Self-Signing Nonthority certificate. 2011-12-20 15:35:42 +01:00
contrib.texi Include dirmngr manual 2010-06-10 10:39:44 +00:00
debugging.texi ifset parts which are not in GnuPG 2.0 2011-01-13 15:32:11 +01:00
DETAILS doc: Fix description for NEED_PASSPHRASE status. 2013-02-07 20:18:31 +01:00
dirmngr.texi Auto-start dirmngr. 2010-08-16 11:03:43 +00:00
FAQ Add a static FAQ. 2010-10-05 13:56:25 +00:00
faq.org faq: Add a section on copyright assignments 2012-12-19 11:05:05 +01:00
fdl.texi Taken from NewPG 2003-01-09 13:24:01 +00:00
glossary.texi Typo fixes. Fixes bug#1093 2009-07-22 13:33:46 +00:00
gnupg-badge-openpgp.eps * preset-passphrase.c (preset_passphrase): Handle --passphrase. 2004-12-21 19:05:15 +00:00
gnupg-badge-openpgp.jpg * preset-passphrase.c (preset_passphrase): Handle --passphrase. 2004-12-21 19:05:15 +00:00
gnupg-badge-openpgp.pdf Made make distcheck work again 2006-06-20 17:47:10 +00:00
gnupg-card-architecture.fig Changed to GPLv3. 2007-07-04 19:49:40 +00:00
gnupg-logo-tr.png Beautified the online html manual 2011-08-12 14:40:47 +02:00
gnupg-logo.eps Add new logo. 2007-03-08 18:31:56 +00:00
gnupg-logo.pdf Add new logo. 2007-03-08 18:31:56 +00:00
gnupg-logo.png Add new logo. 2007-03-08 18:31:56 +00:00
gnupg.texi Beautified the online html manual 2011-08-12 14:40:47 +02:00
gnupg7.texi Include dirmngr manual 2010-06-10 10:39:44 +00:00
gpg-agent.texi Mention status messages in the documentation. 2012-04-04 11:56:59 +02:00
gpg.texi gpg: Add pinentry-mode feature. 2013-02-07 20:37:58 +01:00
gpgsm.texi gpgsm: Add new validation model "steed". 2011-12-07 16:15:15 +01:00
gpgv.texi Fix example. 2009-05-06 10:57:10 +00:00
gpl.texi Changed to GPLv3. 2007-07-04 19:49:40 +00:00
HACKING Prepare for the beta3 release. 2011-12-20 15:55:43 +01:00
help.be.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.ca.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.cs.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.da.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.de.txt Changes the header presented before requesting the user ID. 2008-06-01 19:44:05 +00:00
help.el.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.eo.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.es.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.et.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.fi.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.fr.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.gl.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.hu.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.id.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.it.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.ja.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.nb.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.pl.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.pt_BR.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.pt.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.ro.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.ru.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.sk.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.sv.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.tr.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.txt Print status of CRL checks in the audit log. 2009-07-23 15:18:58 +00:00
help.zh_CN.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
help.zh_TW.txt Created help files form the current po entries. 2007-12-04 15:00:14 +00:00
howto-create-a-server-cert.texi Typo fixes. Fixes bug#1093 2009-07-22 13:33:46 +00:00
howtos.texi Add a howto section. 2007-05-08 13:59:41 +00:00
instguide.texi Include dirmngr manual 2010-06-10 10:39:44 +00:00
KEYSERVER Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
Makefile.am Add mksamplekeys script. 2012-03-26 15:48:47 +02:00
mksamplekeys Adjust awk to not add trailing whitespace. 2012-11-30 12:43:34 -05:00
Notes Changed license of the manual stuff to GPL. 2004-09-29 11:04:30 +00:00
OpenPGP Migrated more stuff to doc/ 2006-08-21 20:20:23 +00:00
opt-homedir.texi Minor bug fixes and document new gpg-connect-feature. 2008-05-26 16:48:05 +00:00
qualified.txt add new certifciates 2008-06-25 11:14:48 +00:00
samplekeys.asc Refresh sample keys 2012-11-30 12:47:49 -05:00
scdaemon.texi scd: Add the "undefined" stub application. 2011-12-14 17:00:50 +01:00
see-also-note.texi More man pages. Added include files for 2 common paragraphs. 2006-08-18 13:05:39 +00:00
specify-user-id.texi gpg: Allow use of a standard space separated fingerprint. 2012-01-06 13:36:47 +01:00
sysnotes.texi Typo fixes. Fixes bug#1093 2009-07-22 13:33:46 +00:00
texi.css Beautified the online html manual 2011-08-12 14:40:47 +02:00
tools.texi gpg-connect-tool: Take the string "true" as a true condition. 2012-01-27 15:40:24 +01:00
TRANSLATE Fixed last yat2m change. 2008-04-03 09:58:28 +00:00
vuln-announce-2007-multiple-message.txt Changes to let the key listing use estream to help systems without 2007-03-19 14:35:04 +00:00
vuln-announce-2010-kbx-realloc.txt Some work on the dirmngr 2010-07-23 16:16:14 +00:00
vuln-announce-cve-2006-6235.txt 2006-12-06 16:38:34 +00:00
yat2m.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00