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
| "problemMatchers": [ | |
| { | |
| "name": "esbuild", | |
| "label": "esbuild problem matcher", | |
| "applyTo": "allDocuments", | |
| "source": "esbuild", | |
| "fileLocation": "relative", | |
| "pattern": [ | |
| { | |
| "regexp": "^\\S \\[([A-Z]+)\\] (.+)$", |
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
| # Microsoft's warnings on WTHelper functions in WinTrust API | |
| Microsoft has placed **identical deprecation warnings** on all six WTHelper functions in the WinTrust API, strongly discouraging their use in modern applications. These warnings signal Microsoft's clear intent to phase out these legacy functions in favor of more robust, secure alternatives. | |
| ## The official warning header | |
| All six WTHelper functions (WTHelperCertCheckValidSignature, WTHelperCertIsSelfSigned, WTHelperGetProvCertFromChain, WTHelperGetProvPrivateDataFromChain, WTHelperGetProvSignerFromChain, and WTHelperProvDataFromStateData) display this exact warning at the top of their documentation pages: | |
| > [The [FUNCTION_NAME] function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. For certificate verification, use the CertGetCertificateChain and CertVerifyCertificateChainPolicy functions. For Microsoft Authenticode technology signature verification, use |
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: |