Skip to content

klinquist/ezgpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ezgpg

A terminal UI for GnuPG (gpg) that shells out to the system gpg binary.

ezgpg screenshot

Requirements

  • Go 1.22+ (for building)
  • gpg installed (GPGTools or brew install gnupg)
  • macOS is the primary target; the code is written to be portable, but some workflows (like pinentry UX) depend on your gpg setup.

Build & Run

go build -o ezgpg ./cmd/ezgpg
./ezgpg

If you hit a Go build cache permissions error, set a local cache:

mkdir -p .gocache .gomodcache
GOCACHE="$PWD/.gocache" GOMODCACHE="$PWD/.gomodcache" go build -o ezgpg ./cmd/ezgpg

Homebrew-friendly layout

This project is already laid out in a way that works well for a Homebrew formula:

  • build: go build -o ezgpg ./cmd/ezgpg
  • install: bin.install "ezgpg"
  • runtime dependency: gnupg (for gpg)

Notes

  • Override the detected gpg path with EZGPG_GPG_PATH=/path/to/gpg (or the legacy EASYPGP_GPG_PATH).
  • Trust prompts: if gpg refuses to encrypt due to trust confirmation (and tries to open /dev/tty), the CLI will ask you and re-run with --trust-model always.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages