On Friday, 17 April 2020 7:13:02 PM AEST Shengjing Zhu wrote: > While golang-github-hashicorp-go-gcp-common-dev has been packaged, and > the packaged version includes this fix, I think you can use this > instead of the vendor one.
Very nice, thank you. I tried that but unfortunately build failed with yet
another FTBFS:
~~~~
#
github.com/hashicorp/vault/vendor/github.com/hashicorp/vault-plugin-auth-gcp/plugin
src/github.com/hashicorp/vault/vendor/github.com/hashicorp/vault-plugin-auth-gcp/plugin/path_login.go:219:42:
cannot use keyId (type string) as type context.Context in argument to
gcputil.OAuth2RSAPublicKey:
string does not implement context.Context (missing Deadline method)
src/github.com/hashicorp/vault/vendor/github.com/hashicorp/vault-plugin-auth-gcp/plugin/path_login.go:229:36:
cannot use keyId (type string) as type context.Context in argument to
gcputil.OAuth2RSAPublicKey:
string does not implement context.Context (missing Deadline method)
src/github.com/hashicorp/vault/vendor/github.com/hashicorp/vault-plugin-auth-gcp/plugin/path_login.go:249:40:
cannot use keyId (type string) as type context.Context in argument to
gcputil.OAuth2RSAPublicKey:
string does not implement context.Context (missing Deadline method)
~~~~
--
Regards,
Dmitry Smirnov.
---
We do our friends no favors by pretending not to notice flaws in their
work, especially when those who are not their friends are bound to notice
these same flaws.
-- Sam Harris
signature.asc
Description: This is a digitally signed message part.

