227 Commits

Author SHA1 Message Date
aaff9e7ab9 grpc: better RFC 3986 compliant target parsing (#4817) 2021-10-14 14:54:02 -07:00
ee479e630f creds/google: replace NewComputeEngineCredsWithOptions with NewDefaultCredentialsWithOptions (#4830) 2021-10-05 14:49:15 -07:00
127c052c70 credentials/google: introduce a new API NewComputeEngineCredsWithOptions (#4767) 2021-09-30 13:06:50 -07:00
4c5f7fb0ee xds: de-experimentalize xDS apis required for psm security (#4753) 2021-09-15 14:05:59 -07:00
4e07a14b4e credentials/ALTS: Ensure ALTS record protocol names are consistent (#4754) 2021-09-10 13:58:12 -07:00
0ca7dca977 oauth: Allow access to Google API regional endpoints via Google Default Credentials (#4713) 2021-09-07 09:12:01 -07:00
d074cae66b github: fold security tests into 'tests'; update testing to 1.17-1.15 (#4708) 2021-08-26 11:21:36 -07:00
712e8d4f57 Remove support for Go 1.13 and older (cont) (#4706) 2021-08-25 14:51:41 -07:00
b759b408e8 xds: moved shared matchers to internal/xds (#4441)
* Moved shared matchers to internal/xds
2021-05-14 17:02:10 -04:00
75497df97f meshca: remove meshca certificate provider implementation (#4385) 2021-05-04 14:38:47 -07:00
74fe6eaa41 github: testing action workflow improvements and update to test Go1.16 (#4358) 2021-04-22 14:59:51 -07:00
41676e61b1 Fix goroutine leaks (#4214) 2021-04-19 09:49:37 -07:00
87eb5b7502 credentials/google: remove unnecessary dependency on xds protos (#4339) 2021-04-13 16:19:17 -07:00
950ddd3c37 xds/google_default_creds: handshake based on cluster name in address attributes (#4310) 2021-04-12 09:56:37 -07:00
d6abfb4598 cmd/protoc-gen-go-grpc: add protoc and protoc-gen-go-grpc versions to top comment (#4313) 2021-04-09 16:30:59 -07:00
b331a48e06 alts: re-add vmOnGCP and once globals for easier testing (#4284) 2021-03-23 10:42:27 -07:00
1e7119b136 xds: support all matchers for SANs (#4246) 2021-03-15 14:13:13 -07:00
f168a3cb3b c2p: add google-c2p resolver (#4204) 2021-03-11 14:17:43 -08:00
e8930beb0e xds: Prepare to support filter chains on the server (#4222) 2021-03-10 21:12:44 -08:00
2c42474aca pemfile: Make test happy with Go1.16 (#4164)
Go1.16 adds a new unexported field to x509.CertPool which causes our
tests to fail because cmp.Equal() isn't happy. This change introduces a
helper function which compares certprovider.KeyMaterial in a way that
makes the test happy with the new Go version.
2021-01-21 17:21:34 -08:00
938f6e2f75 cmd/protoc-gen-go-grpc: add gRPC-Go version comment and update release version (#4152) 2021-01-14 14:28:25 -08:00
d79063fdde credentials/xds: Move non-user facing functionality to an internal package (#4117) 2020-12-16 15:46:56 -08:00
cfef8c7e03 pemfile: Update distributor only inside of the for loop (#4114) 2020-12-16 09:28:28 -08:00
17e2cbe887 credentials/xds: ServerHandshake() implementation (#4089) 2020-12-14 09:00:45 -08:00
c7df457e12 credentials/xds: Rename test file (#4077) 2020-12-04 08:42:31 -08:00
8f3cc6cc26 protoc-gen-go-grpc: export grpc.ServiceDesc (#4035) 2020-11-23 14:56:57 -08:00
6d0f0110bf meshca: Don't use the config proto from grpc-proto (#4056) 2020-11-23 09:44:03 -08:00
fa59d20167 pemfile: Implement certprovider config parsing API (#4023) 2020-11-17 15:36:28 -08:00
20636e76a9 protobuf: update protoc to latest version (#4038)
Presently, protoc 3.3.0 (released in 2017) is still being used. This
commit updates the vet.sh script as well as existing generated files to
use protoc 3.14.0 instead.

The only concrete change this brings is updated import paths of
Timestamp and Duration types. However, in practice this is a no-op,
since the types themselves are already aliased to the new import path:

- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/duration#Duration
- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/timestamp#Timestamp
2020-11-16 16:59:46 -08:00
aeb04798c5 credentials: fix PerRPCCredentials w/RequireTransportSecurity and security levels (#3995) 2020-11-09 15:33:53 -08:00
bc01f3fa87 certprovider: API tweaks. (#3987) 2020-11-06 11:24:57 -08:00
d7a7a304ff testing: Avoid using context.Background (#3949) 2020-11-05 09:25:17 -08:00
4e179b8d3e pemfile: Move file watcher plugin from advancedtls to gRPC (#3981) 2020-10-30 15:52:55 -07:00
fe9c99ff4c xds: CDS balancer security integration. (#3955) 2020-10-30 15:52:14 -07:00
eb7fc22e45 credentials/xds: Handle no acceptedSANs correctly. (#3965) 2020-10-22 13:37:57 -07:00
4e8458e5c6 protobuf: update all generated code to google.golang.org/protobuf (#3932) 2020-10-21 16:05:44 -07:00
8153ecea73 credentials/insecure: Implement insecure credentials. (#3964) 2020-10-21 15:07:37 -07:00
9519efffeb cmd/protoc-gen-go-grpc: use grpc.ServiceRegistrar instead of *grpc.Server (#3968) 2020-10-20 13:02:25 -07:00
7745e521ff meshca: Use grpc suffix for grpc specific generated code. (#3954) 2020-10-13 13:51:00 -07:00
d9063e7af3 standardized experimental warnings (#3917) 2020-10-02 09:11:08 -07:00
866de13d56 meshca: CertificateProvider plugin implementation. (#3871) 2020-09-29 17:40:30 -07:00
6f47205d8c credentials/xds: Implementation of client-side xDS credentials. (#3888) 2020-09-29 16:36:05 -07:00
02cd07d9bb cmd/protoc-gen-go-grpc: revert to interface-based service registration (#3911) 2020-09-29 15:17:06 -07:00
21f897eab8 xds: Add bootstrap support for certificate providers. (#3901) 2020-09-24 11:29:52 -07:00
659b82911d internal: regenerate pb.go (#3893) 2020-09-22 15:17:47 -07:00
ff9dd65c90 protoc-gen-go-grpc: generate interfaces optionally; remove NewFooService (#3876) 2020-09-16 10:15:56 -07:00
a3e63e87bd alts: Specify the build constraints correctly. (#3877)
From the official docs:
A build constraint is evaluated as the OR of space-separated options.
Each option evaluates as the AND of its comma-separated terms.
2020-09-15 09:53:04 -07:00
0b575750a9 credentials/alts: Skip ALTS tests on darwin. (#3859)
Anyways, only linux and windows are supported platforms. Running these
tests on darwin causes a top level `make test` to fail, and one has to
scroll all the way up to realize that it is only these alts tests which
have failed, and not something that one is actively working on.
2020-09-01 17:43:01 -07:00
48bf772d0c credentials/alts: ClientAuthorizationCheck to case-fold compare of peer SA (#3792) 2020-09-01 16:23:56 -07:00
d25c71b543 testutils: Add a context parameter to the Receive() method. (#3835) 2020-08-27 13:55:15 -07:00