LinuxCommandLibrary

gpgv

Simplified OpenPGP signature verifier

TLDR

Verify a signed file

$ gpgv [file.sig]
copy
Verify detached signature
$ gpgv [file.sig] [file]
copy
Use specific keyring
$ gpgv --keyring [keyring.gpg] [file.sig]
copy
Verbose verification
$ gpgv -v [file.sig]
copy
Quiet mode
$ gpgv -q [file.sig]
copy

SYNOPSIS

gpgv [options] [sigfile] [files]

DESCRIPTION

gpgv is a stripped-down version of gpg designed solely for verifying OpenPGP signatures. It assumes all keys in the keyring are trustworthy and does not check for expired or revoked keys.
By default, it uses the trustedkeys.kbx or trustedkeys.gpg keyring in the GnuPG home directory. It is commonly used in package managers and automated verification scripts where trust is pre-established.

PARAMETERS

-v, --verbose

More information during processing.
-q, --quiet
Try to be as quiet as possible.
--keyring file
Use specified keyring.
--homedir dir
GnuPG home directory.
--ignore-time-conflict
Turn timestamp checks into warnings.
--weak-digest name
Treat digest as weak.
--status-fd n
Write status strings to file descriptor.

CAVEATS

Returns 0 if verification succeeds, 1 if any signature is bad, and other codes for fatal errors. Unlike gpg, gpgv does not validate key trust.

SEE ALSO

gpg(1), gpg2(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community