OnWorks favicon

gpgv - Online in the Cloud

Run gpgv in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gpgv that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gpgv - Verify OpenPGP signatures


gpgv [options] signed_files


gpgv is an OpenPGP signature verification tool.

This program is actually a stripped-down version of gpg which is only able to check
signatures. It is somewhat smaller than the fully-blown gpg and uses a different (and
simpler) way to check that the public keys used to make the signature are valid. There are
no configuration files and only a few options are implemented.

gpgv assumes that all keys in the keyring are trustworthy. That does also mean that it
does not check for expired or revoked keys.

By default a keyring named ‘trustedkeys.gpg’ is used. This default keyring is assumed to
be in the home directory of GnuPG, either the default home directory or the one set by an
option or an environment variable. The option --keyring may be used to specify a
different keyring or even multiple keyrings.


The program returns 0 if everything is fine, 1 if at least one signature was bad, and
other error codes for fatal errors.


gpgv recognizes these options:


-v Gives more information during processing. If used twice, the input data is listed
in detail.


-q Try to be as quiet as possible.

--keyring file
Add file to the list of keyrings. If file begins with a tilde and a slash, these
are replaced by the HOME directory. If the filename does not contain a slash, it is
assumed to be in the home-directory ("~/.gnupg" if --homedir is not used).

--status-fd n
Write special status strings to the file descriptor n. See the file DETAILS in the
documentation for a listing of them.

--logger-fd n
Write log output to file descriptor n and not to stderr.

GnuPG normally checks that the timestamps associated with keys and signatures have
plausible values. However, sometimes a signature seems to be older than the key due
to clock problems. This option turns these checks into warnings.

--homedir dir
Set the name of the home directory to dir. If this option is not used, the home
directory defaults to ‘~/.gnupg’. It is only recognized when given on the command
line. It also overrides any home directory stated through the environment variable
GNUPGHOME’ or (on Windows systems) by means of the Registry entry

On Windows systems it is possible to install GnuPG as a portable application. In
this case only this command line option is considered, all other ways to set a home
directory are ignored.

To install GnuPG as a portable application under Windows, create an empty file name
gpgconf.ctl’ in the same directory as the tool ‘gpgconf.exe’. The root of the
installation is than that directory; or, if ‘gpgconf.exe’ has been installed
directly below a directory named ‘bin’, its parent directory. You also need to
make sure that the following directories exist and are writable: ‘ROOT/home’ for
the GnuPG home and ‘ROOT/var/cache/gnupg’ for internal cache files.

--weak-digest name
Treat the specified digest algorithm as weak. Signatures made over weak digests
algorithms are normally rejected. This option can be supplied multiple times if
multiple algorithms should be considered weak. MD5 is always considered weak, and
does not need to be listed explicitly.


gpgv pgpfile

gpgv 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.

Use gpgv online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    Download Sardi
  • 2
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    Download LMMS Digital Audio Workstation
  • 3
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 4
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 5
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    Download XMLTV
  • 6
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • More »

Linux commands