A tool that switches gpg home on different working directory
Project description
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
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
auto-gpg-0.1.0.tar.gz
(3.0 kB
view hashes)