summaryrefslogtreecommitdiffstats
path: root/dependencies/pkg/mod/golang.org/x/sys@v0.1.0/windows/testdata/README
blob: 07cc50f8b944e4dd95ee7471325b9edfc66613d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This folder contains various pre-generated artifacts for testing. Descriptions
of each follow below.

## ev-signed-file.exe

This was generated with:

  int main(void)
  {
      puts("Hello Gophers!");
      return 0;
  }

And then a simple clang/mingw compilation:

  i686-w64-mingw32-gcc -Os -s a.c

After, it was copied to a Windows computer where it was signed with an EV
certificate using:

  signtool sign /sha1 <ID of certificate> /fd sha256 /tr http://timestamp.digicert.com /td sha256 /d "Go Project EV Signing Test" a.exe