---
name: "gpgme-json"
section: "1"
platform: "linux"
package: "gpgme"
version: "2.2.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gpgme-json"
---

# gpgme-json(1)

Native messaging based GPGME operations

## NAME

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

## SYNOPSIS

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

## 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

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

- **-i** **--interactive**

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

- **-s** **--single**

  Enable single request mode.

- **--identify *file\|-***

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

- **--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**

  Print GPGME library version.

- **-h** **--help**

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

## BUGS

Please report bugs to \<https://bugs.gnupg.org\>.

## COPYRIGHT

**gpgme-json** is Copyright 2018-2024 g10 Code GmbH. LGPL version 2.1 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.
