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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pgp-utils-1.0.1.tar.gz.

File metadata

  • Download URL: pgp-utils-1.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

File hashes

Hashes for pgp-utils-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b5b8da243781b134c076665f44ecc75e85210184c2c45e2dc1f249b9e9a46c66
MD5 7a48fc5059b4376f97d87b3fec343f84
BLAKE2b-256 4bac9919e1bbd543e683bb0e2de288ea3564a99b9af7b481a9dc1319e4c26697

See more details on using hashes here.

File details

Details for the file pgp_utils-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pgp_utils-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

File hashes

Hashes for pgp_utils-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df87ceff2ce9c98aa9e8b2db5a1660b329ad5a29f785a93e9c4eb8f7d88c5fd5
MD5 d50c82c11b9c29a223822640085d518e
BLAKE2b-256 1139378b77346ab09acd1b99db4c1994abddaee96ac2477d2eb1809b39991e54

See more details on using hashes here.

Supported by

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