对 tar.gz 文件进行数字签名

发布于 2024-12-01 01:38:00 字数 132 浏览 7 评论 0原文

我需要对 tar.gz 文件进行数字签名,但不知道该怎么做。我理解这个概念,并且知道如何签署 jar/zip 文件。但我找不到使用 tar.gz 文件的方法。

谁能指出我正确的方向,或者告诉我为什么不能这样做?

谢谢!

I need to digitally sign a tar.gz file, and have no idea how to do it. I understand the concept, and I know how to sign a jar/zip file. But I cannot find a way that will work with a tar.gz file.

Can anyone point me in the right direction, or tell me why this cannot be done?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

幸福不弃 2024-12-08 01:38:00

其中一种选项是使用 OpenPGP 密钥或 X.509 证书来使用分离签名。 GnuPG 和 OpenSSL 都应该能够生成分离的签名。当然,您将获得一个带有签名的单独文件,但对我来说,这是唯一可行的选择。

One of the options is to use detached signature using an OpenPGP key or X.509 certificate. Both GnuPG and OpenSSL should be able to produce detached signatures. Of course, you will get a separate file with the signature, but this is the only viable option, as for me.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文