eclipse-egit / egit

EGit, the git integration of Eclipse IDE
https://www.eclipse.org/egit/
Eclipse Public License 2.0
12 stars 5 forks source link

Provide Support for gpgsm (X.509) Commit Signing #36

Open ajh- opened 1 month ago

ajh- commented 1 month ago

Description

The ability to use gpgsm as an alternative gpg executable for signing commits. Inside (and outside) the Eclipse terminal, I am able to sign commits using the gpgsm executable and a smart card. However, when trying to use the egit plugin, it throws an error about an invalid option "--locate-keys" which exists in gpg but not in gpgsm.

Motivation

This would allow users to use smart cards (and other potential X.509 solutions) to sign their git commits using the egit plugin.

Alternatives considered

Open a terminal within (or outside) Eclipse and sign commits using gpgsm that way.

Additional context

No response

tomaswolf commented 1 month ago

JGit is currently adding support for this. We may consider this for the September release.