Key Encryption Key CLI
Project description
KEK-cli
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 formatbucket_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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
952fd831e19703cd80579d6bf7021b1bd963a3cc0d53979c5dbd50b386dac25b
|
|
| MD5 |
d408edc42c3117792d6a958543573c02
|
|
| BLAKE2b-256 |
327767c2abb92dd6b9a30bbe9f0fdcbfd1c0f3731d72f3b867f1317a94b2e861
|
Provenance
The following attestation bundles were made for gnukek_cli-1.0.1.tar.gz:
Publisher:
pypi.yml on SweetBubaleXXX/KEK-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gnukek_cli-1.0.1.tar.gz -
Subject digest:
952fd831e19703cd80579d6bf7021b1bd963a3cc0d53979c5dbd50b386dac25b - Sigstore transparency entry: 182783922
- Sigstore integration time:
-
Permalink:
SweetBubaleXXX/KEK-cli@2741a28901a459844f283436aacfa1df026760e8 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/SweetBubaleXXX
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@2741a28901a459844f283436aacfa1df026760e8 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5823fe4d53501c94b15d46b7a5947cfe72749d8e46e27e1841a754f464af9f1f
|
|
| MD5 |
b8a81f531b77ea55aa3ca08d0fea09a0
|
|
| BLAKE2b-256 |
3805acbb04c26cbf752d986ff794d6c1ea6433a8a3e571f9c3c0620b5caf2bd8
|
Provenance
The following attestation bundles were made for gnukek_cli-1.0.1-py3-none-any.whl:
Publisher:
pypi.yml on SweetBubaleXXX/KEK-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gnukek_cli-1.0.1-py3-none-any.whl -
Subject digest:
5823fe4d53501c94b15d46b7a5947cfe72749d8e46e27e1841a754f464af9f1f - Sigstore transparency entry: 182783925
- Sigstore integration time:
-
Permalink:
SweetBubaleXXX/KEK-cli@2741a28901a459844f283436aacfa1df026760e8 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/SweetBubaleXXX
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@2741a28901a459844f283436aacfa1df026760e8 -
Trigger Event:
push
-
Statement type: