auto-gpg
A tool that switches gpg home on different working directory
Installation
pip install auto-gpg
Usage
Configuration
Write configuration file ~/.auto-gpg
~/Developer/src/github.com:~/.gnupgs/hi@guoyk.xyz
~/Developer/src/gitlab.mycompany.com:~/.gnupgs/guoyk@mycompany.com
Execute auto-gpg
auto-gpg invokes gpg command with GNUPGHOME environment variable, and the value of GNUPGHOME is determined by the configuration file above.
auto-gpg -k
auto-gpg -abs
# ...
Configure git
git config --global gpg.program auto-gpg
git config --global commit.gpgsign true
git config --global tag.gpgsign true
Credits
GUO YANKE, MIT License
Metadata
Release files for auto-gpg 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 |
|---|---|---|---|---|
| auto-gpg-0.1.0.tar.gz | 3.0 kB | Without provenance | Details for auto-gpg-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| auto_gpg-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for auto_gpg-0.1.0-py3-none-any.whl |
Total release size: 6.5 kB
Release files / auto-gpg-0.1.0.tar.gz
| Download URL | auto-gpg-0.1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a4ce5f3a758f3a9b341cd67f91e4d36b58b9649984c19f0fd82ca75cdaf5d02
|
|
BLAKE2b-256 checksum How to use checksums |
ba9fe31acbcf1a96275aef14f6d2c46d557c73e4bf41ecfb84e50de1de43cd89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / auto_gpg-0.1.0-py3-none-any.whl
| Download URL | auto_gpg-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49aed607aaac398fb0a406414e644a59bd01142b5161d7dfbb73b6a4ddf14932
|
|
BLAKE2b-256 checksum How to use checksums |
671877b778b214fdc04450b99584f52d0df89dd7f14ee6abf7bc719596743c79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Security for auto-gpg 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.