google-api-go-client icon indicating copy to clipboard operation
google-api-go-client copied to clipboard

Improve GCE detection by checking Google hardware

Open TimurSadykov opened this issue 2 years ago • 3 comments

Current detection has elevated false-negative rate in certain environments and cause unrecoverable errors. To improve that we add a static detection of Google hardware.

Implement the stage 1 proposal per go/auth-library-noping

TimurSadykov avatar Aug 16 '23 02:08 TimurSadykov

It seems like this got dropped. For many years Go has had the SMIBIOS check for linux, but we still need the check for Windows. We will get this scheduled soon.

codyoss avatar Apr 24 '24 19:04 codyoss

Package wmi provides a WQL interface for WMI on Windows.

https://github.com/yusufpapurcu/wmi

quartzmo avatar Jun 07 '24 19:06 quartzmo

DotNet implementation: https://github.com/googleapis/google-api-dotnet-client/blob/main/Src/Support/Google.Apis.Auth/OAuth2/ComputeCredential.cs#L442-L466

quartzmo avatar Jun 07 '24 19:06 quartzmo