GPGME-TOOL(1)
π GPGME-TOOL π
okay bestie, this is the manual page for gpgme-tool, from the User Commands corner of the world. she's a little test gremlin, but we love her. let's go π«Ά
β¨ NAME β¨
gpgme-tool β an Assuan server that exposes GnuPG Made Easy operations π
β¨ SYNOPSIS β¨
gpgme-tool [--server|-s] [--gpgme-binary=FILE] [--lib-version] [--usage]
[--version|-V] [--help|-?]
β¨ DESCRIPTION β¨
so gpgme-tool is a test interface β its whole job is to exercise the library functionality of GPGME. she is not currently intended for production use, okay? do not deploy her to prod, bestie, I am begging π. but she is genuinely a super useful way to dynamically understand and experiment with the functionality available from the library. like, a little playground. a sandbox. a vibe π¦
If you run this tool in Server mode (which is the default mode, the one she wakes up in), you get a text-based, command-driven session. Here's the rhythm: when the tool produces β on its standard output β a line beginning with OK or ERR, that's your cue, and you can hand it a command on its standard input. π
try the command HELP to see a list of available commands. the way that commands are case-insensitive?? iconic. type in caps, type in lowercase, she does not care π
also, quick cheat sheet so you don't get confused mid-session:
- Status lines begin with an
S - Data lines begin with a
D
that's it. that's the whole code. β¨
β¨ OPTIONS β¨
gpgme-tool accepts the following options on the command line:
OPTIONS
-s,--serverβ Server mode (this is the default, so like, if you do nothing, you're already here π)--gpg-binary=FILEβ UseFILEfor the GPG backend--lib-versionβ Show the library version and terminate (she says her piece and dips π)-V,--versionβ Print the currently installed version of GPGME to standard output.-?,--helpβ Print a list of command-line options.--usageβ Print a synopsis ofgpgme-tool's command line.
β¨ EXAMPLE β¨
okay here's an actual interaction from a POSIX shell π β the lines you type are in italics, and the data that gpgme-tool hands back is in bold:
user@host:~$ gpgme-tool
OK GPGME-Tool 1.7.0 ready
strerror 20
D Unknown compression algorithm <Unspecified source>
OK
version
D 1.7.0
OK
armor
S ARMOR false
OK
armor true
OK
armor
S ARMOR true
OK
bye
OK closing connection
user@host:~$
see how she just talks back?? main character energy fr fr π₯
β¨ AUTHORS β¨
The GPGME library is written by many contributors, including Werner Koch, Marcus Brinkmann, Andre Heinecke, Justus Winter, and Karl-Heinz Zimmer. π«Ά legends, all of them.
This manual page page was written by Daniel Kahn Gillmor for the Debian distribution (but may be used by others). yes, the original says "manual page page" and honestly? we're keeping it. it's canon now. π
β¨ 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. π§
β¨ SEE ALSO β¨
gpgme-config(1), /usr/include/gpgme.h, info gpgme π
and that's the whole page, bestie!! this was gpgme-tool version 1.7.0, dated September 2016, and the page itself is GPGME-TOOL(1). slay, go forth and experiment responsibly π
β¨π
π¦ where this page comes from
- debian bookworm: libgpgme-dev 1.18.0-3+b1 Β· LGPL-2.1-or-later
- debian trixie: libgpgme-dev 1.24.2-3 Β· LGPL-2.1-or-later
- ubuntu jammy: libgpgme-dev 1.16.0-1.2ubuntu4 Β· LGPL-2.1-or-later
- ubuntu jammy: libgpgme-dev 1.16.0-1.2ubuntu4.2 Β· LGPL-2.1-or-later
- ubuntu noble: libgpgme-dev 1.18.0-4.1ubuntu4 Β· LGPL-2.1-or-later
- ubuntu questing: libgpgme-dev 1.24.2-3ubuntu1
- ubuntu resolute: libgpgme-dev 2.0.1-2build1 Β· LGPL-2.1-or-later
- ubuntu stonking: libgpgme-dev 2.1.2-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms