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 Distribution

gnukek_cli-1.0.1.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file gnukek_cli-1.0.1.tar.gz.

File metadata

  • Download URL: gnukek_cli-1.0.1.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for gnukek_cli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 952fd831e19703cd80579d6bf7021b1bd963a3cc0d53979c5dbd50b386dac25b
MD5 d408edc42c3117792d6a958543573c02
BLAKE2b-256 327767c2abb92dd6b9a30bbe9f0fdcbfd1c0f3731d72f3b867f1317a94b2e861

See more details on using hashes here.

Provenance

The following attestation bundles were made for gnukek_cli-1.0.1.tar.gz:

Publisher: pypi.yml on SweetBubaleXXX/KEK-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

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

File hashes

Hashes for gnukek_cli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5823fe4d53501c94b15d46b7a5947cfe72749d8e46e27e1841a754f464af9f1f
MD5 b8a81f531b77ea55aa3ca08d0fea09a0
BLAKE2b-256 3805acbb04c26cbf752d986ff794d6c1ea6433a8a3e571f9c3c0620b5caf2bd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for gnukek_cli-1.0.1-py3-none-any.whl:

Publisher: pypi.yml on SweetBubaleXXX/KEK-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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