#gpg #wraps #user #nicer #ui #key #decryption

app bpg

Wraps around GPG to provide a nicer user interface

1 stable release

2.1.0 Feb 11, 2019

#2 in #nicer

GPL-3.0-or-later

17KB
303 lines

Better Privacy Guard

Wraps around gpg to provide a nicer UI.

bpg 2.1.0
Milo Gilad <myl0gcontact@gmail.com>
Simple wrapper around gpg

USAGE:
    bpg [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    decrypt     Decrypts a message
    encrypt     Encrypts a message
    help        Prints this message or the help of the given subcommand(s)
    keys        Manages keys in your gpg keychain
    tutorial    Basic overview of GPG/BPG and how public/private key crypto works.

Installation

Besides requiring gpg, we also require a graphical pinentry program to use keys. Here are basic install instructions for macOS:

brew install gnupg
brew install pinentry-mac
echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
killall gpg-agent

You can either grab a pre-built binary off of the tags page, or you can build from source:

Build From Source

Given that we're coding this in Rust, install it from here. Then, follow these steps (UNIX-like systems):

cd bpg
cargo build --release # target/release/bpg is the binary's location

TODO

  • improved key editing
  • auto-updating

Dependencies

~750KB