easygpg

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2021 License: MIT

README

Easy GPG

easygpg is a minimal CLI tool for managing GPG keys as Git commit signers.

Why?

The gpg CLI is an abomination. It's impossible for mere mortals to use. These days, most people just want to use it to configure Git signing, which is made difficult by its bloated, legacy API.

Installation

brew install cmoog/easygpg/easygpg

Usage

easygpg create
easygpg ls
easygpg export [keyid]
easygpg rm [keyid]

Example

easygpg create
Real name: Charlie Moog
Email address: moogcharlie@gmail.com
easygpg ls
+------------------+--------------+--------------------------------+------+--------------+
|      KEY ID      |   EXPIRES    |              USER              | ALGO |   CREATED    |
+------------------+--------------+--------------------------------+------+--------------+
| ABA2C3CDB19429C3 | Feb 15, 2022 | Charlie Moog                   | rsa  | Aug 19, 2021 |
|                  |              | <moogcharlie@gmail.com>        |      |              |
+------------------+--------------+--------------------------------+------+--------------+
easygpg export ABA2C3CDB19429C3
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGEfEmwBEAClGpJpov+2YyXgSq5u7MlfDt1iUpocmbUUfCrk9811qRZ8R1gA
...
-----END PGP PUBLIC KEY BLOCK-----

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL