本文介绍了使用gpg在Eclipse中签署git commits的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

github上有一个不错的功能,可以显示使用gpg密钥对git commit进行签名.

There is this nice feature from github to show that a git commit is signed using a gpg key.

我关注了以下文章:

  • https://help.github.com/articles/adding-a-new-gpg-key-to-your-github-account/
  • https://help.github.com/articles/signing-commits-using-gpg/

,默认情况下,我现在可以使用命令行对提交和标签进行签名.
(这在github存储库中也可见/标记为已验证")

and I'm now able to sign my commits and tags using the command line by default.
(This is also visible/marked as "Verified" in the github repository)

但是,即使我打开/关闭退出"按钮,eclipse也会拒绝(正确地)使用gpg对任何git commit进行签名.它也没有显示提交是否已签名.

However eclipse refuses to (properly) sign any git commit (with gpg) even if I turn on/off the "sign-off" button.It also doesn't show whether a commit was signed at all.

我在做什么错或者日食/EGIT还不能处理gpg?

What am I doing wrong or is eclipse/egit not (yet) able to deal with gpg?

我使用以下工具

  • Eclipse Mars.1 + 2
  • GPG4Win 2.2.0
  • Git 2.8.2

推荐答案

它似乎是EGit的一项缺失功能,您可能应该将此增强功能建议为 http://bugs.eclipse.org .

It seems to be a missing feature of EGit, you should probably suggest this enhancement to http://bugs.eclipse.org .

这篇关于使用gpg在Eclipse中签署git commits的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-27 13:47