You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-9Lines changed: 14 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ Compilation
141
141
142
142
To compile with Visual C++ 2019, open the directory and let CMake do its thing.
143
143
If you have the Windows DDK installed correctly, it should just work.
144
-
Note: you need to use the Ninja generator for CMake, else the driver might not work once installed
144
+
Note: you need to use the Ninja generator for CMake, else the driver might not work once installed
145
145
146
146
To compile with GCC on Linux, you will need a cross-compiler set up, for either
147
147
`i686-w64-mingw32` or `x86_64-w64-mingw32`. Create a build directory, then use
@@ -150,13 +150,15 @@ generate your Makefile.
150
150
151
151
Signing
152
152
-----------
153
-
To install a built-from-source or a nightly (from github actions) driver, you need to sign it
154
-
In this section, I will show how to disable driver signature enforcement, or how to sign the driver using test-signing
155
-
Warning : both of these solutions aren't perfect, if you are looking for a everyday-use it is recommanded to use the release builds, which are signed with a Microsoft-trusted key.
153
+
154
+
To install a built-from-source or a nightly (from github actions) driver, you need to sign it.
155
+
In this section, I will show how to disable driver signature enforcement, or how to sign the driver using test-signing.
156
+
Warning: both of these solutions aren't perfect, if you are looking for a everyday-use it is recommanded to use the release builds, which are signed with a Microsoft-trusted key.
156
157
157
158
158
159
## Disabling signature enforcement
159
-
Note : this isn't persistent accross reboots
160
+
161
+
Note: this isn't persistent accross reboots
160
162
161
163
Relevant link : https://docs.microsoft.com/en-us/windows-hardware/drivers/install/installing-an-unsigned-driver-during-development-and-test
162
164
@@ -175,27 +177,30 @@ If the window didn't show up, the driver probably wasn't installed, make sure yo
175
177
The computer should next tell you to reboot your computer
176
178
177
179
### 3 - Reboot the computer again without driver signature enforcement
180
+
178
181
Follow the same instructions as step 1
179
182
180
183
### 4 - Done !
184
+
181
185
The driver should now be installed ! Note it will only load when the computer is started without driver signature enforcement
182
186
183
187
184
188
185
189
## Test-signing the driver
186
-
Note : This method is harder to put in place, and has the only benefit of persisting after reboots.
190
+
191
+
Note: This method is harder to put in place, and has the only benefit of persisting after reboots.
187
192
188
193
Example commands are given for each steps but it is recommand to check the microsoft documentation link about test-signing, so you know what you are doing
0 commit comments