带有X.509证书的Linux的签名GIT提交
由于GIT允许其用户使用GPG签名,因此已经足够长的时间了。
如果我们想使用 x.509证书和s/mime ,有 smimesign 在Windows和Mac下平稳运行的实用程序。
但是,在Linux下,事情变得更加混乱,尤其是如果我们想使用加密令牌。看来,如果我们想使用PIV卡中存储的X.509证书进行签名,我们需要使用一些沉重的解决方法(涉及使用:gnupg,gpgsm,gpgsm,gpg-agent,scdaemon,scdaemon,gnupg-pkcs11-scd ...等) 为了实现它。
是否有一种简单的(在公司环境中部署)已知的方法可以使用Linux下的PKCS#11签名?
It's been long enough since git permits its users to sign commits using GPG.
If we want instead to sign commits using X.509 certificates and S/MIME, there's smimesign utility that runs smoothly under Windows and Mac.
However, under Linux things get more messier, especially if we want to use a cryptographic token. It seems that if we want to use an X.509 certificate stored in a PIV card for example to sign commits, we need to use some heavy workarounds (workarounds that involve using : gnupg, gpgsm, gpg-agent, scdaemon, gnupg-pkcs11-scd... etc) in order to make it happen.
Is there a simple (simple to deploy in a corporate environment) known way to sign Git commits using something like PKCS#11 under Linux?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论