Add notes about windows driver signing in the 'signing-driver' file
authorKeith Packard <keithp@keithp.com>
Sun, 15 Jun 2014 23:16:59 +0000 (16:16 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 15 Jun 2014 23:30:08 +0000 (16:30 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
signing-driver [new file with mode: 0644]

diff --git a/signing-driver b/signing-driver
new file mode 100644 (file)
index 0000000..177c507
--- /dev/null
@@ -0,0 +1,20 @@
+Notes on getting a signing key for driver signing
+
+http://technet.microsoft.com/en-us/library/dd919238%28v=ws.10%29.aspx
+
+# use MMC to add the certificates snap-in for ComputerAccount on Local computer
+
+Run console as Administrator:
+
+makecert -r -n "CN=AltusMetrum" -ss AltusMetrumCertStore -sr LocalMachine
+
+# <path> contains the altusmetrum.inf file we ship. Make sure <path>
+# is otherwise empty or inf2cat will get confused
+
+inf2cat /driver:<path> /os:7_X86,7_X64,8_X86,8_X64
+
+signtool sign /s AltusMetrumCertStore /n ÔÇťAltusMetrum"
+         /t http://timestamp.verisign.com/scripts/timestamp.dll
+         altusmetrum.cat
+
+pnputil -i -a altusmetrum.inf