All apps/GnuPG

GnuPG

gnupg

A free implementation of the OpenPGP standard: signing, encryption and key management.

Runs as gpg, gpg2, gpgconf|macOS, Linux|gnupg.org

Command form

ai-draft · 5 tasks · 13 fields

List, export, import and fetch keys and decrypt files with gpg. Encrypting and signing are not covered because the completion data lacks their file arguments.

Opens the form; the finished command lands at your prompt, unrun
otty gui gnupg

gpg --list-keys

List public keys

List keys from the public keyrings.

List public keysExample values, fixed in this page — nothing here reaches a terminal
Basic
Key IDs or names
string
Show fingerprints
--with-fingerprint
TasksEach one presets the form for one job
List keys
namesfingerprint
ParametersOnly these flags are editable in the form
Key IDs or names
Leave empty for all keys.
string · positional 0 · repeatable
Machine-readable
boolean
--with-colons
Show fingerprints
boolean
--with-fingerprint
GnuPG home
path
--homedir

gpg --export

Export keys

Export public keys to the terminal or a file.

Export keysExample values, fixed in this page — nothing here reaches a terminal
Basic
Key IDs or names*
string
ASCII armour
--armour
Output file
file
TasksEach one presets the form for one job
Export armoured
namesarmouroutput
ParametersOnly these flags are editable in the form
Key IDs or names
Leave empty for all keys.
string · positional 0 · repeatable
ASCII armour
boolean
--armour-a
Output file
path
--output-o

gpg --import

Import keys

Import and merge keys from files.

Import keysExample values, fixed in this page — nothing here reaches a terminal
Basic
Key files*
file
TasksEach one presets the form for one job
Import
files
ParametersOnly these flags are editable in the form
Key files
path · positional 0 · repeatable
Merge only
Do not add new keys to the keyrings.
boolean
--merge-only

gpg --recv-keys

Fetch keys

Download keys by ID from a keyserver.

Fetch keysExample values, fixed in this page — nothing here reaches a terminal
Basic
Key IDs*
string
Keyserver
string
TasksEach one presets the form for one job
Fetch
idskeyserver
ParametersOnly these flags are editable in the form
Key IDs
string · positional 0 · repeatable
Keyserver
string
--keyserver

gpg --decrypt

Decrypt

Decrypt a file, or stdin when no file is given.

DecryptExample values, fixed in this page — nothing here reaches a terminal
Basic
Encrypted file*
file
Output file
file
TasksEach one presets the form for one job
Decrypt
fileoutput
ParametersOnly these flags are editable in the form
Encrypted file
path · positional 0
Output file
Defaults to the terminal.
path
--output-o
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed gpg against its version. A form that does not match your version is not offered.