...

Text file src/golang.org/x/sys/windows/testdata/README

Documentation: golang.org/x/sys/windows/testdata

     1This folder contains various pre-generated artifacts for testing. Descriptions
     2of each follow below.
     3
     4## ev-signed-file.exe
     5
     6This was generated with:
     7
     8  int main(void)
     9  {
    10      puts("Hello Gophers!");
    11      return 0;
    12  }
    13
    14And then a simple clang/mingw compilation:
    15
    16  i686-w64-mingw32-gcc -Os -s a.c
    17
    18After, it was copied to a Windows computer where it was signed with an EV
    19certificate using:
    20
    21  signtool sign /sha1 <ID of certificate> /fd sha256 /tr http://timestamp.digicert.com /td sha256 /d "Go Project EV Signing Test" a.exe

View as plain text