Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] JGit signing with smimesign

Hi,

we are using Git with signed commits (git commit -S) and the configuration with x509 and smart card support via https://github.com/github/smimesign

I've switched from gpg to smimesign and try it with Eclipse EGit / JGit. The working config with native git is:

.gitconfig:
...

[user]

  signingkey = <some-x509-key>

 

[gpg]

  format = x509

 

[gpg "openpgp"]

  program = gpg

 

[gpg "x509"]

  program = smimesign

 

[commit]

  gpgsign = false

 

[tag]

  gpgSign = false

  forceSignAnnotated = true

...

If i try sign commit with Eclipse this issue is shown:
image.png

I did not looked at the code yet. 

I think JGit is supporting GPG via Java Bouncy-Castle and does not really call configured gpg program? Or is there a way to configure it for JGit?

Regards
Andre (anb0s)

Back to the top