gpgv2 command examples
gpgv2 – Verify OpenPGP signatures
gpgv2 pgpfile
gpgv2 sigfile [datafile]
Verify the signature of the file. The second form is used for detached signatures, where sigfile is the detached signature (either ASCII-armored or binary) and datafile contains the signed data; if datafile is “-” the signed data is expected on stdin; if datafile is not given the name of the file holding the signed data is constructed by cutting off the extension (“.asc”, “.sig” or “.sign”) from sigfile.