Windows 是否需要对用户模式驱动程序进行签名?

发布于 2024-12-15 04:44:52 字数 108 浏览 0 评论 0原文

我有一个设备的用户模式驱动程序的 inf 文件。

Windows 是否要求我对该驱动程序进行签名? 不签署此驱动程序是否存在任何风险?

我知道内核模式驱动程序需要签名。

I have an inf file for a user-mode driver for a device.

Does windows require me to get this driver signed?
Are there any risks of not having this driver signed?

I know that kernel-mode drivers need to be signed.

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

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

发布评论

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

评论(3

柒七 2024-12-22 04:44:52

对于 Windows 7,公认的答案是正确的,但从 Windows 8 到现在的 10,情况有所不同。

用户模式驱动程序(例如打印机驱动程序)将在以下环境中安装和工作:
基于 x64 的计算机。期间将向用户显示一个对话框
安装请求批准安装驱动程序。开始于
Windows 8 及更高版本的 Windows,安装将无法继续
除非这些驱动程序包也经过签名。

https://learn.microsoft.com /en-us/windows-hardware/drivers/install/windows-driver-signing-tutorial

The accepted answer is right about Windows 7, but things are different starting with Windows 8 and now 10.

User-mode drivers, like the Printer driver will install and work in an
x64-based computer. A dialog will appear to the user during
installation asking for approval to install the driver. Beginning in
Windows 8 and later versions of Windows, installation will not proceed
unless these driver packages are also signed.

https://learn.microsoft.com/en-us/windows-hardware/drivers/install/windows-driver-signing-tutorial

╰つ倒转 2024-12-22 04:44:52

简短的回答是否定的; Windows 不需要对 x86/x64 上的用户模式驱动程序进行签名。

不签名不会有任何风险,而且您无需支付让 Microsoft 签署驱动程序的费用。


更新:
正如Soroush Falahati的回答所指出的那样,情况已不再如此,请参阅他的回答

The short answer is no; windows does not require signing for user-mode drivers on x86/x64.

There are no risks with not having it signed, and you don't have to pay the fee to have Microsoft sign the driver.


UPDATE:
This is no longer the case as Soroush Falahati's answer will point out, please refer to his answer

把人绕傻吧 2024-12-22 04:44:52

您需要对其进行签名,但您可以将自签名证书与用户更多驱动程序一起使用。

You need to sign it, but you can use self signed certificates with user-more drivers.

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