This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //go:build windows | |
| // Credit is due to "heaths" for his part in this program and inspiration, see: https://gist.github.com/heaths/ebbca7d956f0b42bbb33193f0837e272?permalink_comment_id=5766639#gistcomment-5766639 | |
| // This program implements an advanced Windows digital signature verification tool. | |
| // It leverages Windows WinTrust API functions to validate Authenticode signatures on executable files (.exe, .dll, .sys, etc.) | |
| // with support for both standard verification and extended verification modes. The tool provides detailed | |
| // signature information including certificate chains, timestamps, and signature algorithms. | |
| // | |
| // IMPORTANT SECURITY NOTES: |