GitSecret
Python wrapper for git-secret. 🔐🔐🔐
Check out the documentation.
Pre-requisites
Install git secret
Install git secret using your favorite installation method.
Generate a gpg key
Generate a gpg and passphrase using your e-mail of choice.
gpg --full-generate-key
Using Git Secret
Initialization
from gitsecret import GitSecret
secret_repo = GitSecret("/path/to/repo")
secret_repo.create()
Adding & removing users
secret_repo.tell("my_email@email.com")
secret_repo.killperson("my_email@email.com")
# After removing a person, you need to hide the repo again.
secret_repo.hide()
Adding, encrpyting, and decrypting files
PASSWORD = "mysecretpassword"
secret_repo.add("hello.txt")
secret_repo.hide()
secret_repo.reveal(PASSWORD)
Metadata
Release files for gitsecret 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gitsecret-0.1.0.tar.gz | 6.4 kB | Without provenance | Details for gitsecret-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gitsecret-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gitsecret-0.1.0-py3-none-any.whl |
Total release size: 19.7 kB
Release files / gitsecret-0.1.0.tar.gz
| Download URL | gitsecret-0.1.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff9a84e61b039ff4d560758f247f643b58b43a5393f311ebe28af1db3ed6210e
|
|
BLAKE2b-256 checksum How to use checksums |
29502709bc19d512c93779b9584ecb363921071837bd7858e5f2f8b786d220d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Release files / gitsecret-0.1.0-py3-none-any.whl
| Download URL | gitsecret-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95e19a26b716cc3e3abf5dfb057e5b34eede3c84dbd8c8e16bd2c8e45553703a
|
|
BLAKE2b-256 checksum How to use checksums |
6d92a7c3743dc394c42fa5cd6e73423922b1794dbba3f16db7e8f162b149f225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Security for gitsecret 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.