1GPGV(1) GNU Privacy Guard GPGV(1)
2
3
4
6 gpgv - Verify OpenPGP signatures
7
9 gpgv [options] signed_files
10
11
12
13
14
16 gpgv is an OpenPGP signature verification tool.
17
18 This program is actually a stripped-down version of gpg which is only
19 able to check signatures. It is somewhat smaller than the fully-blown
20 gpg and uses a different (and simpler) way to check that the public
21 keys used to make the signature are valid. There are no configuration
22 files and only a few options are implemented.
23
24 gpgv assumes that all keys in the keyring are trustworthy. By default
25 it uses a keyring named `trustedkeys.gpg' which is assumed to be in the
26 home directory as defined by GnuPG or set by an option or an environ‐
27 ment variable. An option may be used to specify another keyring or even
28 multiple keyrings.
29
30
31
33 The program returns 0 if everything is fine, 1 if at least one signa‐
34 ture was bad, and other error codes for fatal errors.
35
36
38 gpgv recognizes these options:
39
40
41
42 --verbose
43
44 -v Gives more information during processing. If used twice, the
45 input data is listed in detail.
46
47
48 --quiet
49
50 -q Try to be as quiet as possible.
51
52
53 --keyring file
54 Add file to the list of keyrings. If file begins with a tilde
55 and a slash, these are replaced by the HOME directory. If the
56 filename does not contain a slash, it is assumed to be in the
57 home-directory ("~/.gnupg" if --homedir is not used).
58
59
60 --status-fd n
61 Write special status strings to the file descriptor n. See the
62 file DETAILS in the documentation for a listing of them.
63
64
65 --logger-fd n
66 Write log output to file descriptor n and not to stderr.
67
68
69 --ignore-time-conflict
70 GnuPG normally checks that the timestamps associated with keys
71 and signatures have plausible values. However, sometimes a sig‐
72 nature seems to be older than the key due to clock problems.
73 This option turns these checks into warnings.
74
75
76 --homedir dir
77 Set the name of the home directory to dir. If this option is not
78 used, the home directory defaults to `~/.gnupg'. It is only
79 recognized when given on the command line. It also overrides
80 any home directory stated through the environment variable
81 `GNUPGHOME' or (on W32 systems) by means of the Registry entry
82 HKCU\Software\GNU\GnuPG:HomeDir.
83
84
85
86
88 gpgv pgpfile
89
90 gpgv sigfile [datafile]
91 Verify the signature of the file. The second form is used for
92 detached signatures, where sigfile is the detached signature
93 (either ASCII-armored or binary) and datafile contains the
94 signed data; if datafile is "-" the signed data is expected on
95 stdin; if datafile is not given the name of the file holding the
96 signed data is constructed by cutting off the extension (".asc",
97 ".sig" or ".sign") from sigfile.
98
99
100
102 ~/.gnupg/trustedkeys.gpg
103 The default keyring with the allowed keys.
104
105
106
108 HOME Used to locate the default home directory.
109
110
111 GNUPGHOME
112 If set directory used instead of "~/.gnupg".
113
114
115
117 gpg2(1)
118
119 The full documentation for this tool is maintained as a Texinfo manual.
120 If GnuPG and the info program are properly installed at your site, the
121 command
122
123 info gnupg
124
125 should give you access to the complete manual including a menu struc‐
126 ture and an index.
127
128
129
130
131GnuPG 1.4.11 2010-10-21 GPGV(1)