Skip to main content

A small utility to wrap up common pgp/yubikey operations.

Project description

pgp-utils

This is a very simple command utility that just wraps up some common operations with pgp keys/a yubikey.

For example, you can sign, encrypt, decrypt, switch yubikey (and more) with short and simple commands.

Configuration

The utility expects a small config file located at $PGP_UTILS_HOME/config.json. $PGP_UTILS_HOME defaults to ~/.config/pgp-utils. The format of the file is: { "key_id": <YOUR_KEY_ID> }

Usage

  • pgp-utils --help: Display help, available commands etc.
  • pgp-utils switch: Switch yubikey to the one currently inserted into a USB port on your device.
  • pgp-utils encrypt FILE ...RECIPIENTS: Encrypts a message. If no recipients are specified, ppg-utils uses the key specified in your config file.
  • pgp-utils decrypt FILE: Decrypts a message.
  • ppg-utils sign FILE: Signs a file.
  • ppg-utils verify FILE: Verifies the signed file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pgp-utils-1.0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

pgp_utils-1.0.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page