Skip to main content

Key Encryption Key CLI

Project description

KEK-cli

Python License

Installation

To install KEK-cli:

pip install gnukek-cli

To install with S3 storage support:

pip install gnukek-cli[s3]

Usage

kek --help

Encrypt a file

kek encrypt <input_file> <output_file>

Decrypt a file

kek decrypt <input_file> <output_file>

Generate a new key pair

kek generate

Import keys

kek import <key_files>...

Export a key

kek export <key_id> <file>

List saved keys

kek list

Delete a key

kek delete <key_ids>...

Sign a file

kek sign <input_file> <output_file>

Verify a signature

kek verify <signature_file> <original_file>

Upload a file to S3

kek s3-upload <input_file> <file_location>

Download a file from S3

kek s3-download <file_location> <output_file>

file_location - the S3 object location in the format bucket_name/object_name

Shell completions

Run to install bash completions:

eval "$(_KEK_COMPLETE=bash_source kek)"

This line can be added to ~/.bashrc.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

gnukek_cli-1.0.0-1-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file gnukek_cli-1.0.0-1-py3-none-any.whl.

File metadata

  • Download URL: gnukek_cli-1.0.0-1-py3-none-any.whl
  • Upload date:
  • Size: 42.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for gnukek_cli-1.0.0-1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e9867e6a593766c17a1fc6b74eb33e66fb94d8a15db5deeb578b8cf296eb5df
MD5 1784ace8bc3eae94f0047ff760407d27
BLAKE2b-256 9db59bd682f432ccdd13963ca69c7d9e54341730845194c8f7ba112d4214035b

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