From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: dev@dpdk.org
Cc: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>,
Narcisa Ana Maria Vasile <navasile@linux.microsoft.com>,
Dmitry Malloy <dmitrym@microsoft.com>,
Pallavi Kadam <pallavi.kadam@intel.com>,
Ranjit Menon <ranjit.menon@intel.com>
Subject: [dpdk-dev] [kmods PATCH 1/4] windows: specify signature hash algorithm
Date: Sat, 2 Oct 2021 19:18:21 +0300 [thread overview]
Message-ID: <20211002161824.19039-2-dmitry.kozliuk@gmail.com> (raw)
In-Reply-To: <20211002161824.19039-1-dmitry.kozliuk@gmail.com>
Windows Driver Kit version 22000.1 requires the signature hash algorithm
to be specified, otherwise an error occurs:
SIGNTASK : SignTool error : No file digest algorithm specified.
Specify "certHash" to match the algorithm of any certificate used.
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
windows/netuio/netuio.vcxproj | 6 ++++++
windows/virt2phys/virt2phys.vcxproj | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/windows/netuio/netuio.vcxproj b/windows/netuio/netuio.vcxproj
index 87c8b94..2ab761e 100644
--- a/windows/netuio/netuio.vcxproj
+++ b/windows/netuio/netuio.vcxproj
@@ -70,6 +70,9 @@
<Inf>
<TimeStamp>0.6.1</TimeStamp>
</Inf>
+ <DriverSign>
+ <FileDigestAlgorithm>certHash</FileDigestAlgorithm>
+ </DriverSign>
<Link>
<AdditionalDependencies>%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib;$(DDK_LIB_PATH)\wdmsec.lib</AdditionalDependencies>
</Link>
@@ -85,6 +88,9 @@
<Inf>
<TimeStamp>0.6.1</TimeStamp>
</Inf>
+ <DriverSign>
+ <FileDigestAlgorithm>certHash</FileDigestAlgorithm>
+ </DriverSign>
<Link>
<AdditionalDependencies>%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib;$(DDK_LIB_PATH)\wdmsec.lib</AdditionalDependencies>
</Link>
diff --git a/windows/virt2phys/virt2phys.vcxproj b/windows/virt2phys/virt2phys.vcxproj
index c86cc9b..66462bc 100644
--- a/windows/virt2phys/virt2phys.vcxproj
+++ b/windows/virt2phys/virt2phys.vcxproj
@@ -178,6 +178,9 @@
<Inf>
<TimeStamp>0.1</TimeStamp>
</Inf>
+ <DriverSign>
+ <FileDigestAlgorithm>certHash</FileDigestAlgorithm>
+ </DriverSign>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
@@ -186,6 +189,9 @@
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
<WppKernelMode>true</WppKernelMode>
</ClCompile>
+ <DriverSign>
+ <FileDigestAlgorithm>certHash</FileDigestAlgorithm>
+ </DriverSign>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<ClCompile>
--
2.29.3
next prev parent reply other threads:[~2021-10-02 16:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-02 16:18 [dpdk-dev] [kmods PATCH 0/4] windows: independent fixes Dmitry Kozlyuk
2021-10-02 16:18 ` Dmitry Kozlyuk [this message]
2021-10-02 16:18 ` [dpdk-dev] [kmods PATCH 2/4] windows/virt2phys: support only x86 configurations Dmitry Kozlyuk
2021-10-02 16:18 ` [dpdk-dev] [kmods PATCH 3/4] windows/virt2phys: change setup class GUID to custom Dmitry Kozlyuk
2021-10-02 16:18 ` [dpdk-dev] [kmods PATCH 4/4] windows/virt2phys: add PnpLockdown directive Dmitry Kozlyuk
2021-10-08 2:06 ` [dpdk-dev] [kmods PATCH 0/4] windows: independent fixes Menon, Ranjit
2022-01-11 13:39 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211002161824.19039-2-dmitry.kozliuk@gmail.com \
--to=dmitry.kozliuk@gmail.com \
--cc=dev@dpdk.org \
--cc=dmitrym@microsoft.com \
--cc=navasile@linux.microsoft.com \
--cc=pallavi.kadam@intel.com \
--cc=ranjit.menon@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).