asamy / ksm

A fast, hackable and simple x64 VT-x hypervisor for Windows and Linux. Builtin userspace sandbox and introspection engine.
https://asamy.github.io/ksm/
GNU General Public License v2.0
826 stars 181 forks source link

Driver Signing Fails on cross compiled driver #20

Closed rohaaan closed 7 years ago

rohaaan commented 7 years ago

cross compiled driver on linux fails driver signing. As a result unsigned driver needs to be loaded.

asamy commented 7 years ago

How are you signing it? It works fine for me with:

SignTool sign /v /a /t http://timestamp.verisign.com/scripts/timstamp.dll ksm.sys

This will just pick an appropriate certificate from the store.

rohaaan commented 7 years ago

It works fine for me with Are you cross compiling the binary on Linux for Windows? I am cross compiling on Ubuntu Linux for Windows.

How are you signing it? As above.

The problem I am facing is: Digital Signature Tab doesnot appear in the ksm.sys properties on windows.

asamy commented 7 years ago

No, I don't know of a way to sign it on Linux, what are you using?

rohaaan commented 7 years ago

I am signing on windows but compiling on Linux..

asamy commented 7 years ago

Hmm, that's weird... What's the output of the command?

rohaaan commented 7 years ago

Driver signing works on latest recompile. Digital signature tab now present. please close this issue.