diff options
author | Werner Koch <wk@gnupg.org> | 2006-08-22 16:26:35 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-08-22 16:26:35 +0200 |
commit | f03df78ba056e12a250acd3d23398a6ed655d599 (patch) | |
tree | 7a594cc77a18bf5d7f6283a9089e4c2881ca244e /doc/tools.texi | |
parent | Migrated more stuff to doc/ (diff) | |
download | gnupg2-f03df78ba056e12a250acd3d23398a6ed655d599.tar.xz gnupg2-f03df78ba056e12a250acd3d23398a6ed655d599.zip |
added missing gpgv man page
Diffstat (limited to 'doc/tools.texi')
-rw-r--r-- | doc/tools.texi | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/doc/tools.texi b/doc/tools.texi index d4f698482..07fcfd2d7 100644 --- a/doc/tools.texi +++ b/doc/tools.texi @@ -9,6 +9,7 @@ GnuPG comes with a couple of smaller tools: @menu * watchgnupg:: Read logs from a socket. +* gpgv:: Verify OpenPGP signatures. * addgnupghome:: Create .gnupg home directories. * gpgconf:: Modify .gnupg home directories. * gpgsm-gencert.sh:: Generate an X.509 certificate request. @@ -89,6 +90,135 @@ Display a brief help page and exit @c +@c GPGV +@c +@manpage gpgv2.1 +@node gpgv +@section Verify OpenPGP signatures +@ifset manverb +.B gpgv +\- Verify OpenPGP signatures +@end ifset + +@mansect synopsis +@ifset manverb +.B gpgv2 +.RI [ options ] +.I signed_files +@end ifset + +@mansect description +@code{gpgv2} is an OpenPGP signature verification tool. + +This program is actually a stripped down version of @code{gpg} which is +only able 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 valid. There are +no configuration files and only a few options are implemented. + +@code{gpgv2} assumes that all keys in the keyring are trustworthy. +By default it uses a keyring named @file{trustedkeys.gpg} which is +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. + +@noindent +@mansect options +@code{gpgv2} recognizes these options: + +@table @gnupgtabopt + +@item --verbose +@itemx -v +@opindex verbose +Gives more information during processing. If used +twice, the input data is listed in detail. + +@item --quiet +@itemx -q +@opindex quiet +Try to be as quiet as possible. + +@item --keyring @var{file} +@opindex keyring +Add @var{file} to the list of keyrings. +If @var{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). + +@item --status-fd @var{n} +@opindex status-fd +Write special status strings to the file descriptor @var{n}. See the +file DETAILS in the documentation for a listing of them. + +@item --logger-fd @code{n} +@opindex logger-fd +Write log output to file descriptor @code{n} and not to stderr. + +@item --ignore-time-conflict +@opindex ignore-time-conflict +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 turns these +checks into warnings. + +@include opt-homedir.texi + +@end table + +@mansect return value + +The program returns 0 if everything was fine, 1 if at least +one signature was bad, and other error codes for fatal errors. + +@mansect examples +@subsection Examples + +@table @asis + +@item gpgv2 @code{pgpfile} +@itemx gpgv2 @code{sigfile} +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 +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 + +@mansect environment +@subsection Environment + +@table @asis + +@item HOME +Used to locate the default home directory. + +@item GNUPGHOME +If set directory used instead of "~/.gnupg". + +@end table + +@mansect files +@subsection FILES + +@table @asis + +@item ~/.gnupg/trustedkeys.gpg +The default keyring with the allowed keys + +@end table + +@mansect see also +@command{gpg2}(1) +@include see-also-note.texi + + + + +@c @c ADDGNUPGHOME @c @manpage addgnupghome.8 |