gpgv
gpgv
The gpgv command is a Linux command that can be used to verify the signatures of files. This can be useful for ensuring that files have not been tampered with, and that they came from the source that you expect.
Here are some examples of how to use the gpgv command:
# To verify the signature of the file `file.txt`:
gpgv file.txt
# To verify the signature of the file `file.txt` and be verbose:
gpgv -v file.txthelp
gpgv [options] file
Verify a file's signature.
Options:
-v, --verbose Print verbose information.
-h, --help Show this help message.
-d, --debug Print debugging information.
-q, --quiet Be quiet.
-s, --status Print status information.
-f, --fingerprint Print the fingerprint of the key used to sign the file.
-k, --keyring keyring Use the specified keyring.
-u, --trustdb trustdb Use the specified trustdb.
Examples:
Verify the signature of the file `file.txt`:
gpgv file.txt
Verify the signature of the file `file.txt` and be verbose:
gpgv -v file.txt
Print the fingerprint of the key used to sign the file `file.txt`:
gpgv -f file.txt
For more information, see the gpgv man page.breakdown
Last updated