Hi,
I am looking for confirmation on the correct process to get my GPG signing working again after a fresh install. I have backed up my .gnupg folder but I am hoping that isn’t a requirement from a practicality point of view. I have completed the following;
- Installed pip and the onlykey-agent
pip install onlykey-agent
- Set my git config
git config user.email adam@example.com
git config user.name adam
git config --global commit.gpgsign 1
git config --global gpg.program $(which gpg2)
git config --global user.signingkey D926965E63......
- Started the GPG agent
systemctl --user start gpg-agent
Looking at the .gnupg folder currently, there is no onlykey folder. I can restore my current backup of the onlykey folder and it works as expected but I assumed that everything I needed was satisfied by the agent and the onlykey. Appreciate if someone can clarify
Thanks
Adam