1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00
gnupg/doc/gpgv.texi

115 lines
3.2 KiB
Plaintext
Raw Normal View History

2002-06-29 15:31:13 +02:00
\input texinfo
2004-10-15 11:39:10 +02:00
@setfilename gpgv.info
@dircategory GnuPG
@direntry
* gpgv: (gpgv). GnuPG signature verification tool.
@end direntry
2002-06-29 15:31:13 +02:00
@node Top, , , (dir)
2002-06-29 15:31:13 +02:00
@top gpgv
@chapheading Name
2002-06-29 15:31:13 +02:00
gpgv --- signature verification tool
@chapheading Synopsis
2002-06-29 15:31:13 +02:00
@example
gpgv
options
signed files
@end example
@chapheading DESCRIPTION
2002-06-29 15:31:13 +02:00
@code{gpgv} is the OpenPGP signature checking tool.
This program is a stripped down version of @code{gpg} which is able
only
to check signatures. It is somewhat smaller than the fully blown
@code{gpg} and uses a different (and simpler) way to check that
the public keys used to make the signature are trustworthy. There are
2002-06-29 15:31:13 +02:00
no options files and only very few options are implemented.
@code{gpgv} assumes that all keys in the keyring are trustworthy.
By default it uses a keyring named @file{trustedkeys.gpg} which is
2002-06-29 15:31:13 +02:00
assumed to be in the home directory as defined by GnuPG or set by an
option or an environment variable. An option may be used to specify
another keyring or even multiple keyrings.
@chapheading OPTIONS
2002-06-29 15:31:13 +02:00
@code{gpgv} recognizes these options:
@table @asis
@item -v, --verbose
Gives more information during processing. If used
2002-06-29 15:31:13 +02:00
twice, the input data is listed in detail.
@item -q, --quiet
2002-06-29 15:31:13 +02:00
Try to be as quiet as possible.
@item --keyring @code{file}
2002-06-29 15:31:13 +02:00
Add @code{file} to the list of keyrings.
If @code{file} begins with a tilde and a slash, these
are replaced by the HOME directory. If the filename
does not contain a slash, it is assumed to be in the
home-directory ("~/.gnupg" if --homedir is not used).
2002-06-29 15:31:13 +02:00
The filename may be prefixed with a scheme:
"gnupg-ring:" is the default one.
@item --homedir @code{directory}
2002-06-29 15:31:13 +02:00
Set the name of the home directory to @code{directory} If this
option is not used, it defaults to "~/.gnupg". It does
not make sense to use this in an options file. This
2002-06-29 15:31:13 +02:00
also overrides the environment variable "GNUPGHOME".
@item --status-fd @code{n}
2002-06-29 15:31:13 +02:00
Write special status strings to the file descriptor @code{n}.
See the file DETAILS in the documentation for a listing of them.
@item --logger-fd @code{n}
2002-06-29 15:31:13 +02:00
Write log output to file descriptor @code{n} and not to stderr.
@item --ignore-time-conflict
2002-06-29 15:31:13 +02:00
GnuPG normally checks that the timestamps associated with keys and
signatures have plausible values. However, sometimes a signature seems to
be older than the key due to clock problems. This option makes these
checks just warnings.
2002-06-29 15:31:13 +02:00
@end table
@chapheading RETURN VALUE
2002-06-29 15:31:13 +02:00
The program returns 0 if everything was fine, 1 if at least
one signature was bad, and other error codes for fatal errors.
@chapheading EXAMPLES
2002-06-29 15:31:13 +02:00
@table @asis
2002-06-29 15:31:13 +02:00
@item gpgv @code{pgpfile}
@itemx gpgv @code{sigfile}
2002-06-29 15:31:13 +02:00
Verify the signature of the file. The second form
is used for detached signatures, where @code{sigfile} is the detached
signature (either ASCII armored or binary) and are the signed
2002-06-29 15:31:13 +02:00
data; if this is not given the name of the file holding the signed data is
constructed by cutting off the extension (".asc", ".sig" or ".sign") from
@code{sigfile}.
@end table
@chapheading ENVIRONMENT
2002-06-29 15:31:13 +02:00
@table @asis
2002-06-29 15:31:13 +02:00
@item HOME
Used to locate the default home directory.
@item GNUPGHOME
If set directory used instead of "~/.gnupg".
@end table
@chapheading FILES
2002-06-29 15:31:13 +02:00
@table @asis
2002-06-29 15:31:13 +02:00
@item ~/.gnupg/trustedkeys.gpg
The default keyring with the allowed keys
@end table
@bye