~ubuntu-branches/ubuntu/hardy/gnupg/hardy-updates

« back to all changes in this revision

Viewing changes to doc/gpgv.1

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2006-12-12 15:56:56 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20061212155656-kk00wp4x0uq4tm1y
Tags: upstream-1.4.6
ImportĀ upstreamĀ versionĀ 1.4.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "gpgv" "1" 
2
 
.SH "NAME" 
3
 
gpgv \(em signature verification tool 
4
 
.SH "SYNOPSIS" 
5
 
.PP 
6
 
.nf 
7
 
\fBgpgv\fR  [\fBoptions\fR]  [\fBsigned files\fR]    
8
 
.fi 
9
 
.SH "DESCRIPTION" 
10
 
.PP 
11
 
\fBgpgv\fR is the OpenPGP signature checking tool. 
12
 
 
13
 
.PP 
14
 
This program is a stripped down version of \fBgpg\fR which is able 
15
 
only 
16
 
to check signatures.  It is somewhat smaller than the fully blown 
17
 
\fBgpg\fR and uses a different (and simpler) way to check that 
18
 
the public keys used to make the signature are trustworthy.  There are 
19
 
no options files and only very few options are implemented. 
20
 
.PP 
21
 
\fBgpgv\fR assumes that all keys in the keyring are trustworthy. 
22
 
By default it uses a keyring named \fBtrustedkeys.gpg\fP which is 
23
 
assumed to be in the home directory as defined by GnuPG or set by an 
24
 
option or an environment variable.  An option may be used to specify 
25
 
another keyring or even multiple keyrings. 
26
 
.SH "OPTIONS" 
27
 
.PP 
28
 
\fBgpgv\fR recognizes these options: 
29
 
.IP "\-v, \-\-verbose" 10 
30
 
Gives more information during processing. If used 
31
 
twice, the input data is listed in detail. 
32
 
.IP "\-q, \-\-quiet" 10 
33
 
Try to be as quiet as possible. 
34
 
.IP "\-\-keyring \fBfile\fR" 10 
35
 
Add \fBfile\fR to the list of keyrings. 
36
 
If \fBfile\fR begins with a tilde and a slash, these 
37
 
are replaced by the HOME directory. If the filename 
38
 
does not contain a slash, it is assumed to be in the 
39
 
home-directory ("~/.gnupg" if \-\-homedir is not used). 
40
 
The filename may be prefixed with a scheme: 
41
 
.IP "" 10 
42
 
"gnupg-ring:" is the default one. 
43
 
.IP "\-\-homedir \fBdirectory\fR" 10 
44
 
Set the name of the home directory to \fBdirectory\fR If this 
45
 
option is not used, it defaults to "~/.gnupg". It does 
46
 
not make sense to use this in an options file. This 
47
 
also overrides the environment variable "GNUPGHOME". 
48
 
.IP "\-\-status-fd \fBn\fR" 10 
49
 
Write special status strings to the file descriptor \fBn\fR. 
50
 
See the file DETAILS in the documentation for a listing of them. 
51
 
.IP "\-\-logger-fd \fBn\fR" 10 
52
 
Write log output to file descriptor \fBn\fR and not to stderr. 
53
 
.IP "\-\-ignore-time-conflict" 10 
54
 
GnuPG normally checks that the timestamps associated with keys and 
55
 
signatures have plausible values.  However, sometimes a signature seems to 
56
 
be older than the key due to clock problems.  This option makes these 
57
 
checks just warnings. 
58
 
.SH "RETURN VALUE" 
59
 
.PP 
60
 
The program returns 0 if everything was fine, 1 if at least 
61
 
one signature was bad, and other error codes for fatal errors. 
62
 
 
63
 
.SH "EXAMPLES" 
64
 
.IP "gpgv \fBpgpfile\fR" 10 
65
 
.IP "gpgv \fBsigfile\fR [\fBfiles\fR]" 10 
66
 
Verify the signature of the file. The second form 
67
 
is used for detached signatures, where \fBsigfile\fR is the detached 
68
 
signature (either ASCII armored or binary) and [\fBfiles\fR] are the signed 
69
 
data; if this is not given the name of the file holding the signed data is 
70
 
constructed by cutting off the extension (".asc", ".sig" or ".sign") from 
71
 
\fBsigfile\fR. 
72
 
.SH "ENVIRONMENT" 
73
 
.IP "HOME" 10 
74
 
Used to locate the default home directory. 
75
 
.IP "GNUPGHOME" 10 
76
 
If set directory used instead of "~/.gnupg". 
77
 
.SH "FILES" 
78
 
.IP "~/.gnupg/trustedkeys.gpg" 10 
79
 
The default keyring with the allowed keys 
80
 
.\" created by instant / docbook-to-man, Tue 18 Oct 2005, 13:47