Show the status of the GPG signing key for your project!
You can also also unlock the key by clicking the status bar element. :D
Or unlock the key through command palette.
This extension will show the status of GPG signing key in status bar if your local
.git/config
or any other default .gitconfig
configuration file (e.g. ~/.gitconfig
):
- has set
commit.gpgSign
astrue
for git, and - has set
user.signingKey
with GPG key ID for git
If the above conditions are both satisfied, there will be an indicator for your current signing key, together with a cute icon to tell whether the key is unlocked or not.
When you click the indicator, you will be prompted for passphrase to unlock the key.
- Linux environment (It's not been tested on other platform)
- GPG tool chain (
gpg
,gpg-agent
,gpg-connect-agent
) above 2.1 expect
tool by Don Libes: Links- You can get this tool on most Linux distribution.
Current implementation require a pty between this extension and GPG tools to send passphrase,
so we use expect
to handle this. I wish I can remove this dependency in the future.
Submit a issue if you found any problem.
And please leave a comment in review page if you like this extension!! 😸
Currently there is no setting available.
Multi-folder workspace is not supported yet.
The key ID of the signing key can be retrieved by the command
gpg --list-keys --keyid-format long
.
Locate the key with singing capability (the S
flag in square brackets),
and the key ID is the hex string after the algorithm identifier.
wdhongtw
kitos9112
Unlock key through command palette directly (by MatthewCash), and minor bug fix.
Fix some dependency issues
Fix packaging issue which breaks version 0.3.3
Enhance the message of error of lacking expect
tool
Remove the limitation of scope of Git configuration values.
Add message for unlock action and fix security issue.
Design and add icon for this package.
User can unlock the key by clicking the status bar element.
Initial release. User can check the status of project signing key.