Browse Source

Use Windows 10 SDK instead of Virtual Studio.

master
Josh Mudge 6 months ago
parent
commit
babd06d2d6
6 changed files with 6 additions and 18 deletions
  1. +6
    -7
      All/Sign Using OV Cert.md
  2. BIN
      All/Signtool.png
  3. BIN
      All/developerprompt.png
  4. BIN
      All/windowsdev.png
  5. +0
    -6
      todo.txt
  6. +0
    -5
      todo111119.txt

+ 6
- 7
All/Sign Using OV Cert.md View File

@@ -98,20 +98,19 @@ Put this certificate in the same folder as your `server.exe` file.

### Signing the File

Next, you will need to install Visual Studio. You can download Visual Studio here: https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community
Next, you will need to install the Windows 10 SDK. You can download that here: https://go.microsoft.com/fwlink/p/?linkid=2083338&clcid=0x409

In the install process, you will be greeted with this screen:
Click through the installer until you get to:

![](windowsdev.png)
![](Signtool.png)

Click install.

Choose the "Universal Windows Platform Development" workload. After you have finished installing Visual Studio, open a "Developer Command Prompt for VS". Navigate to the folder your `server.exe` file is in.

![](developerprompt.png)
You'll want to replace `signtool.exe` in the example below with a path to `signtool.exe` on your machine. It should look like `"C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe"` but you may well have a different number for `10.0.18362.0`. Run the following in a command prompt:

```
# Sign a file with your certificate. Replace the code-signing certificate and password values with your own.
SignTool sign /t http://timestamp.comodoca.com /f codesigning.p12 /p <Password> server.exe
signtool.exe sign /t http://timestamp.comodoca.com /f codesigning.p12 /p <Password> server.exe
```

![](signfile.png)


BIN
All/Signtool.png View File

Before After
Width: 741  |  Height: 546  |  Size: 40KB

BIN
All/developerprompt.png View File

Before After
Width: 784  |  Height: 676  |  Size: 50KB

BIN
All/windowsdev.png View File

Before After
Width: 1149  |  Height: 609  |  Size: 104KB

+ 0
- 6
todo.txt View File

@@ -1,6 +0,0 @@
1. goversioninfo / manifest

2. go-powershell
(setup.go & serve.go are in this repository, build them seperately.
3. fileb0x usage.
4. How it all goes together.

+ 0
- 5
todo111119.txt View File

@@ -1,5 +0,0 @@
SILENCE!
start serve.exe
Launch default browser

Document fileb0x and last touches

Loading…
Cancel
Save