Thank you for spending the two hours of your time on this
Glad to
know Iâm not insane.
It seems XP64 is the âforgottenâ Microsoft OS.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@osr.com
Sent: Wednesday, July 30, 2008 12:52 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Signing drivers with signtool for XP 64-bit
Back to your original note⌠Youâre not insane. The problem appears to
be with Signtool.
SIGNTOOL appears to be broken on certain x64 platforms. When I try to
sign an executable on my 64-bit S03 Sp2 box, with a known good set of
certs, the cross-cert is not properly added to executable that Iâve
signed.
I do the usual:
signtool sign /v /ac d:\signing\mscv-vsclass3.cer /s my /n osr /t
http://timestamp.verisign.com/scripts/timestamp.dll filespy\fSpy.sys
And it âworks.â
Then I do:
signtool1 verify /kp /v filespy\fSpy.sys
And I get a cert chain that chains up to âClass 3 Public Primary
Certification Authorityâ, instead of âMicrosoft Code Verification Rootâ
Not the least bit helpful, assuming you want to install the image on an
x64 system running Vista or later.
Take the same driver executable, the same copy of signtool, the same
certificates⌠and move them over to a VM running 32-bit XP Pro⌠use
the exact same command⌠and it works correctly. I get a cert chain
that chains up to the âMicrosoft Code Verification Rootâ.
So, it appears that signtool is once again broken in certain situations
for cross-certs. You can add this problem to the list of (a) Canât have
the verisign root cert in your private cert store or the cross-cert
isnât added, (b) Canât store your code signing cert on various smart
cards, cuz signtool canât read it.
Finding this problem was a really good use of 2 hours of my time (today
alone)⌠Iâm so very happy.
Peter
OSR
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer