mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-08 17:43:04 +01:00
doc: Add extra hint on unattended use of gpg.
--
This commit is contained in:
parent
685a5e1558
commit
c4d8efb894
13
doc/gpg.texi
13
doc/gpg.texi
@ -3781,6 +3781,19 @@ If you are going to verify detached signatures, make sure that the
|
|||||||
program knows about it; either give both filenames on the command line
|
program knows about it; either give both filenames on the command line
|
||||||
or use @samp{-} to specify STDIN.
|
or use @samp{-} to specify STDIN.
|
||||||
|
|
||||||
|
For scripted or other unattended use of @command{gpg} make sure to use
|
||||||
|
the machine-parseable interface and not the default interface which is
|
||||||
|
intended for direct use by humans. The machine-parseable interface
|
||||||
|
provides a stable and well documented API independent of the locale or
|
||||||
|
future changes of @command{gpg}. To enable this interface use the
|
||||||
|
options @option{--with-colons} and @option{--status-fd}. For certain
|
||||||
|
operations the option @option{--command-fd} may come handy too. See
|
||||||
|
this man page and the file @file{DETAILS} for the specification of the
|
||||||
|
interface. Note that the GnuPG ``info'' pages as well as the PDF
|
||||||
|
version of the GnuPG manual features a chapter on unattended use of
|
||||||
|
GnuPG. As an alternative the library @command{GPGME} can be used as a
|
||||||
|
high-level abstraction on top of that interface.
|
||||||
|
|
||||||
@mansect interoperability
|
@mansect interoperability
|
||||||
@chapheading INTEROPERABILITY WITH OTHER OPENPGP PROGRAMS
|
@chapheading INTEROPERABILITY WITH OTHER OPENPGP PROGRAMS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user