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>

Open encrypted file in editor

kek edit <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.1.1.tar.gz (26.3 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.1.1-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gnukek_cli-1.1.1.tar.gz
  • Upload date:
  • Size: 26.3 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.1.1.tar.gz
Algorithm Hash digest
SHA256 832cafe4902d7e6ae209f50a0726d1832a4db1b4d6d453941a2be8b43ebb830d
MD5 a421070b81c593b8b4ca83a746cc599e
BLAKE2b-256 b15d6604e1355b82e603f8de824cc319186afb2ddc4b2cc2bd2f83955907fcdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for gnukek_cli-1.1.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.1.1-py3-none-any.whl.

File metadata

  • Download URL: gnukek_cli-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 43.2 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9584bb1d6b2b13ebb71bd087e5d2320cecfc05b45602ef85dc8d3a43c74489aa
MD5 f1415ddcf39910d68d1d4fd2e2724cda
BLAKE2b-256 b0acb3d6ac3411cf83ea75b6cd3b3d6fe85af6e8d80e5673a638039675001e72

See more details on using hashes here.

Provenance

The following attestation bundles were made for gnukek_cli-1.1.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