如何使用 yubikey 上的证书对 Windows 软件进行签名?

问题描述 投票:0回答:1

以前,我会将 yubikey 插入 USB 端口,然后从 powershell 中使用相关选项运行 ./signtools.exe。然后系统会提示我输入 PIN 码。

我尝试在我的新计算机上执行此操作,但现在出现错误

"SignTool Error: No certificates were found that met all the given criteria."

我已经安装了 Yubikey 管理器,证书位于 PIV 下,未过期。

windows code-signing yubikey
1个回答
0
投票

如果您在使用signtool时遇到困难,可以尝试支持Yubikeys的Jsign

jsign --storetype YUBIKEY --storepass 123456 --certfile full-chain.pem application.exe

如果证书或密钥有问题,它应该显示一条有意义的错误消息。

(免责声明:我是这个项目的作者)

© www.soinside.com 2019 - 2024. All rights reserved.