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.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for pgp_utils-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df87ceff2ce9c98aa9e8b2db5a1660b329ad5a29f785a93e9c4eb8f7d88c5fd5 |
|
MD5 | d50c82c11b9c29a223822640085d518e |
|
BLAKE2b-256 | 1139378b77346ab09acd1b99db4c1994abddaee96ac2477d2eb1809b39991e54 |