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