File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 11# gpgv
22
33> Verify OpenPGP signatures.
4+ > Note: ` gpgv ` reads trusted pubkeys from ` ~/.gnupg/trustedkeys.kbx ` in absence of the ` --keyring ` option.
5+ > See also: ` gpg ` .
46> More information: < https://www.gnupg.org/documentation/manuals/gnupg/gpgv.html > .
57
6- - Verify a signed file:
8+ - Verify a clearsigned or inline- signed file (the signature is embedded in the file itself) :
79
8- ` gpgv {{path/to/file}} `
10+ ` gpgv {{path/to/file.asc }} `
911
10- - Verify a signed file using a detached signature :
12+ - Verify a detached signature ( ` .asc ` or ` .sig ` ) against its corresponding data file :
1113
12- ` gpgv {{path/to/signature}} {{path/to/file }} `
14+ ` gpgv {{path/to/signature.asc }} {{path/to/data_file }} `
1315
14- - Add a file to the list of keyrings (a single exported key also counts as a keyring ):
16+ - Verify a detached signature using a specific public keyring or exported public key file ( ` .gpg ` or ` .kbx ` ):
1517
16- ` gpgv --keyring {{./alice.keyring}} {{path/to/signature}} {{path/to/file}} `
18+ ` gpgv --keyring {{path/to/pubkey_or_keyring.gpg}} {{path/to/signature.asc}} {{path/to/data_file}} `
19+
20+ - Verify a detached signature using a specific public key file in plain text format (` .txt ` ):
21+
22+ ` gpg --dearmor {{[-o|--output]}} {{path/to/pubkey.gpg}} {{path/to/pubkey.txt}} && gpgv --keyring {{path/to/pubkey.gpg}} {{path/to/signature.asc}} {{path/to/data_file}} `
You can’t perform that action at this time.
0 commit comments