gpgme-tool - Assuan server exposing GnuPG Made Easy operations
Contents
Bugs
Please report bugs to <https://bugs.gnupg.org>.
Copyright
gpgme-tool is Copyright © 2015-2016 g10 Code GmbH License GPLv2+: GNU GPL version 2 or later
<https://www.gnu.org/licenses/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent
permitted by law.
Description
gpgme-tool is a test interface that can exercise the library functionality of GPGME. It is not currently
intended for production use, but it can be a useful way to dynamically understand and experiment with the
functionality available from the library.
Running this tool in Server mode (the default mode) results in a text-based, command-driven session.
When the tool produces (on its standard output) a line beginning with OK or ERR, you can provide it with
a command on its standard input. Try the command HELP to see a list of available commands. Commands are
case-insensitive.
Status lines begin with an S, and data lines begin with a D.
Example
Below is an example interaction from a POSIX shell, with user-typed lines in italics, and data returned
by gpgme-tool in bold:
user@host:~$ gpgme-toolOKGPGME-Tool1.7.0readystrerror20DUnknowncompressionalgorithm<Unspecifiedsource>OKversionD1.7.0OKarmorSARMORfalseOKarmortrueOKarmorSARMORtrueOKbyeOKclosingconnection
user@host:~$
Name
gpgme-tool - Assuan server exposing GnuPG Made Easy operations
Options
gpgme-tool accepts the following options on the command line:
OPTIONS-s,--server
Server mode (default)
--gpg-binary=FILE
Use FILE for the GPG backend
--lib-version
Show library version and terminate
-V,--version
Print the currently installed version of GPGME to standard output.
-?,--help
Print a list of command-line options.
--usage
Print a synopsis of gpgme-tool's command line.
See Also
gpgme-config(1), /usr/include/gpgme.h, infogpgme gpgme-tool 1.7.0 September 2016 GPGME-TOOL(1)
Synopsis
gpgme-tool [--server|-s] [--gpgme-binary=FILE] [--lib-version] [--usage] [--version|-V] [--help|-?]
