Files
go_pwner/authenticode_other.go
T
2026-07-18 21:37:15 +03:00

14 lines
422 B
Go

//go:build !windows
package winpwn
import "errors"
// VerifyAuthenticodeSignature is only available when winpwn is built for
// Windows (it shells out to wintrust.dll via WinVerifyTrust). Use
// CheckSecResult.AuthenticodeSigned for the cross-platform presence-only
// check.
func VerifyAuthenticodeSignature(path string) (bool, error) {
return false, errors.New("VerifyAuthenticodeSignature requires GOOS=windows")
}