View on GitHub

vscode-gnupg-tool

GnuPG Tool

GnuPG Tool

GnuPG Tool logo

GitHub license

What’s new in GnuPG-Tool

Features

Supported locales

The extension is available in multiple languages (Google Translator):

Decrypt-Selection

The command palette …

Command palette

Available commands:

The explorer context menu …

Explorer context menu

The editor context menu …

Editor context menu

Used References

Usage

Used File extensions

The *.asc Files

The *.sig Files

The *.key Files

The Clipboard

This extension uses simple command line tools to copy content (commands, fingerprints, key ids) to the clipboard.

Support for an alternate homedir/key ring

When VSCode is opened in a folder with (file:pubring.kbx OR file:pubring.gpg) AND (folder:private-keys-v1.d OR file:secring.gpg) included, then the --homedir parameter is used in every command of this VSCode instance. Additionally the extension supports a workspace configuration to set the path for the keyring. Consequently there is a order for the keyring location:

  1. Use local keyring in workspace, when detected
  2. When not 1. , then check for GnuPG.homedir configuration
  3. When not 2. , then use GnuPG default keyring location

Using several VSCode instances at the same time is not recommended, because the gpg-agent is running in the background for one session. Otherwise you have to kill the session. TIP: Change folder in one instance, because gpg-agent will be killed automatically.

Use Check GnuPG command to see the current used home directory.

Support for GnuPG v1.4

With GnuPG v1.4, there is no pinentry window, where you can enter a pin. Therefore, all commands, which require a pin input, will be prepared to run in the internal terminal. The commands are written to the terminal and you have to press RETURN and follow the instructions. Some functions are not available at all. GnuPG does not work perfectly in the VSCode terminal, or in other terminal emulators (hyper, cmder, …). Therefore all commands for the terminal are additionally copied to the clipboard so that you can insert them in a real terminal window (cmd, bash, …).

Requirements

GnuPG

Windows

OSX

Debian

Raspbian