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
Release history Release notifications | RSS feed
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.0.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for pgp_utils-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e093333ccdb8a6fa701251c598d7e3aa4e39497f60d71874a3ebc93f6429472 |
|
MD5 | 41fc6445e638982d8778b85710ffbb5f |
|
BLAKE2b-256 | 1e62663c2b2e04921db6df7e223491e85f86a903349e6ccaec015072cf96096f |