Bug 40733 - qxl driver not cross signed
Summary: qxl driver not cross signed
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: win32 qxl xddm (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 02:39 UTC by Colin
Modified: 2015-06-17 13:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Colin 2011-09-09 02:39:44 UTC
My OS: Windows 7 sp1 64 bit

Although the downloadable qxl driver binary[1] is signed with a Red Hat cert rooted at verisign, it will still not load unless test mode is turned on[2].

Much reading, pursuit of false trails, brain fry and general gnashing of teeth has led me to believe that this could be fixed by cross signing with the microsoft-verisign cross certificate downloadable from the bottom of this page:

http://msdn.microsoft.com/en-us/windows/hardware/gg487315

A walk through on driver signing from microsoft:

http://msdn.microsoft.com/en-us/windows/hardware/gg487328

describes how to do this, but it boils down to:

Sign it something like this:

signtool sign /v /ac MSCV-VSClass3.cer /f redhat.cer /t http://timestamp.verisign.com/scripts/timestamp.dll qxl.cat qxl.sys qxldd.dll

where MSCV-VSClass3.cer is the dowloaded cross certificate and /f redhat.cer assumes the redhat signing certificate normally used to sign the drivers is in a file called redhat.cer.

It's the /ac MSCV-VSClass3.cer bit that's different from what's being done now.

You can verify that this worked by doing this:

signtool verify /kp /v /c qxl.cat qxl.sys

which will show the certificate chain and verify that it is now rooted in a Microsoft cert.

Unfortunately I've not been able to test the signing and verification because I would need access to the Red Hat signing certificate (with private key) to do so. 

[1] tested with:
http://www.spice-space.org/download/binaries/qxl-0.10-20112808.zip
http://www.spice-space.org/download/binaries/qxl-win-0.1010-20110308-d9eb3203bd.zip

[2] as described in http://spice-space.org/page/WinQXL
Comment 1 Colin 2011-09-09 03:47:58 UTC
I should mention that Windows 7 x64 is the guest OS in a kvm virtual machine hosted on Scientific Linux 6.1.
Comment 2 Christophe Fergeau 2015-06-17 13:43:09 UTC
Actually recent qxl releases should be properly signed with a WHQL signature, which should avoid these issues. Please reopen if you are still having these issues with recent QXL builds.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.