GPGME-JSON(1) GNU GPGME-JSON(1)

# [NAME](#NAME)

**gpgme-json** - Native messaging based GPGME operations

# [SYNOPSIS](#SYNOPSIS)

**gpgme-json** \[**--interactive**|**-i**] \[**--single**|**-s**] \[**--identify** *file*] \[**--lib-version**] \[**--help**|**-h**]

# [DESCRIPTION](#DESCRIPTION)

**gpgme-json** is a JSON to GPGME bridge. This interface allows web-browser extensions to communicate with the GPGME library through the Native Messaging facility from web-browser.

# [OPTIONS](#OPTIONS)

**gpgme-json** accepts the following options on the command line:

[**-i**](#i)

[**--interactive**](#interactive)

Enable interactive mode. Interactive mode also provides some online help.

[**-s**](#s)

[**--single**](#single)

Enable single request mode.

[**--identify *file|-***](#identify)

Identify the type of the data found in ‘*file*’ or standard input *-*.

[**--debug**](#debug)

Enable debug mode. Logs are saved to to ‘*~/.gnupg/S.gpgme-json.log*’.

Note that you can also turn debug mode on and specify a custom logfile using the environment variable **GPGME\_JSON\_DEBUG**.

[**--lib-version**](#lib-version)

Print GPGME library version.

[**-h**](#h)

[**--help**](#help)

Print a usage message summarizing the most useful command-line options.

# [BUGS](#BUGS)

Please report bugs to &lt;https://bugs.gnupg.org&gt;.

# [COPYRIGHT](#COPYRIGHT)

**gpgme-json** is Copyright 2018-2024 g10 Code GmbH. LGPL version 2.1 or later &lt;https://www.gnu.org/licenses/&gt;

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

2026-08-31 GPGME 2.2.0

---

Document: gpgme-json(1) from gpgme 2.2.0-r1 (Chainguard OS)
Source: git://git.gnupg.org/gpgme.git
