Possible to use a SSH Public Key for Commit Signing? [message #1856723] |
Sat, 24 December 2022 16:24  |
Eclipse User |
|
|
|
Ok so from command line I can configure git to use my SSH key not only to authenticate me with GitHub, but also to sign my commits (using the public key). I do this with the standard configurations
git config --global gpg.format ssh
git config --global user.signingkey PATH/TO/MY/PUBLIC/KEY.pub
and when I do git commit -m "MyMessage" then it commits with no problem and when I do a git push origin branch then it pushes with no problem.
Yet when I try to use the EGit (6.0.0) in my Eclipse IDE (2022-12) no matter if I use the external GPG or the BouncyCastle it cannot load my public key as it is configured in GIT, I receive a "Unable to find GPG key for signing with key id "PATH/TO/MY/PUBLIC/KEY.pub"
It's pointing to the key correctly, but simply refuses to use it.
Now my key uses the ed25519 algorithm. I'm not certain if this is the problem or simply that EGit cannot use the ssh gpg.format to perform signing.
I would much rather work completely inside my IDE and not have to switch between IDE and command line, or IDE and GitHub Desktop. That's the whole reason I have EGit installed.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03351 seconds