Git-Secret
Requirements
- git
- github-cli
SECRET_KEYenvironment variable or.keyfile in the root of the repository
You can generate a secret key automatically by leaving the
SECRET_KEYenvironment variable empty. It will be stored in the.keyfile.
Installation
Pip
pip install gsec
From source
git clone
cd git-secret
pip install -r requirements.txt
python src/main.py --help
Usage
Usage: main.py [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
add Add a new secret
delete Delete a secret by ID
edit Edit a secret by ID
list List all secrets
show Show a secret by ID
TODO
- Add configuration file (json)
- Change repo path
-
Change secret key
- Create packages
- PyPI
- AUR
- COPR
- Add tests
- Change the way
showdisplays the secrets
Metadata
Release files for gsec 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gsec-1.0.1.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gsec-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / gsec-1.0.1.tar.gz
| Download URL | gsec-1.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76fc79228131dd27f2258f5cd736e22893619a888bf5ab7fba2cd8593e2699ec
|
|
BLAKE2b-256 checksum How to use checksums |
677ea062be278777f7a93db041c0fd48855946de09c491e13cd95f34c0748389
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / gsec-1.0.1-py3-none-any.whl
| Download URL | gsec-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
541d6c4f9f414bcecb7ec18d7c233a40a4d56e804925fd4a8a60780beee620ea
|
|
BLAKE2b-256 checksum How to use checksums |
492995466ddc8301eb739eb48c96d4d9ab872e0239282829e798d59144449c10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|