v0.1 - initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//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")
|
||||
}
|
||||
Reference in New Issue
Block a user