visualDDK and Driver Testing Signing

Sysprogs forums Forums VisualDDK/VirtualKD discussion visualDDK and Driver Testing Signing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #183
    Anonymous
    Participant

    As I understand driver test signing:
    On Dev Box
    1. Create a certificate and install in the personal store
    2. for your driver project use int2cat to create a catalog file (.cat)
    3. sign the .cat file using the SignTool.exe with the certificate previously created.

    Than in Virtual Machine:
    1. Make sure VM is has bcdedit testsigning ON (this seemed to be set for me when i ran visualdkk in vm)
    2. Move certificate into VM and install certificate into the Trusted Root Store

    unless i missed a step that seems like I’ll i need to do, however, when i run my test driver in the VM i still get the annoying red popup box that says “you are trying to load and signing driver…blah blah..” then i have to switch to vm click and switch back to visual studio (very not cool). Any ideas why my test signing is not working?

    On a side note it would be a nice feature of visualDDK if in the project you just say you want to use test signing and then everytime you build the project it automatically generates new .cat file and signs it for you.

    #1403
    Anonymous
    Participant

    figured it out actually

    test cert need to be in the trusted root cert store AND the trusted publishers store

    #1404
    Anonymous
    Participant

    earlier i posted a nice feature request would be to automatically test sign my driver as part of build.

    I know visualddk doesnt do this yet. so I wrote .bat file to run all the tools needed to sign my driver, but i would like the build command to automatically call my .bat file.

    From doing some research on the web i could not find a good answer anywhere. Seems like makefile.inc has to do with the post build process but couldnt find an example anywhere.

    If anyone has an ideas or a sample that would awesome!

    #1405
    pendriver
    Participant

    Hi :

    I recommande you the Microsoft document :
    http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/KMCS_Walkthrough.doc

    In fact for me I created a bat file that I call after post build. I used ddkBuild from OSR’s DDKBUILD.BAT file
    http://www.osronline.com/article.cfm?article=43
    http://www.osronline.com/article.cfm?id=546

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.