Arjan Singh Bal
48b6b11b38
credentials/tls: reject connections with ALPN disabled ( #7184 )
2024-05-21 16:29:40 -07:00
Aaron Gable
bb9882e6ae
Add an optional implementation of streams using generics ( #7057 )
2024-05-03 10:51:39 -07:00
hakusai22
273fe145d0
*: fix typos ( #7178 )
2024-05-02 16:54:22 -07:00
Elisha Silas
09e6fddbcd
Update docs and examples and tests to use NewClient instead of Dial ( #7068 )
...
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-04-19 10:55:23 -07:00
Arvind Bright
28cccf38c7
pb.go: regenerate ( #7098 )
2024-04-05 11:37:06 -07:00
Clément Jean
879414f963
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto ( #7059 )
2024-04-05 11:12:44 -07:00
Zach Reyes
ba1bf9e7e0
deps: update dependencies for all modules ( #7061 )
2024-03-27 14:42:11 -04:00
Zach Reyes
eb5828bae7
protoc: Change protoc to include generated call option ( #6960 )
2024-03-21 17:34:19 -04:00
Matt Straathof
c8083227ee
chore: expose `NewClient` method to end users ( #7010 )
2024-03-07 13:52:41 -08:00
Dmitry A. Shashkin
c31fce824d
Update github.com/golang/protobuf and google.golang.org/protobuf modules ( #7028 )
2024-03-07 13:51:16 -08:00
Clément Jean
51f9cc0f35
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto ( #6961 )
2024-02-28 09:58:48 -08:00
irsl
f94be9b5f2
Set the security level of Windows named pipes to NoSecurity ( #6956 )
2024-02-14 15:22:46 -08:00
Clément Jean
02858ee506
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto ( #6919 )
...
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-01-30 10:59:10 -08:00
Zach Reyes
5051eeae53
grpc: Update go mod ( #6939 )
2024-01-24 19:10:36 -05:00
Matthew Stevenson
e96f521f47
alts: Extract AuthInfo after handshake in ALTS e2e test. ( #6931 )
...
* alts: Extract AuthInfo after handshake in ALTS e2e test.
* Add comment, per review request.
2024-01-22 08:09:32 -08:00
Mile Druzijanic
8b455deef5
removing Roots deprecated Subjects field in tests ( #6907 )
2024-01-16 15:24:11 -08:00
Matthew Stevenson
953d12a1c6
alts: Forward-fix of ALTS queuing of handshake requests. ( #6906 )
...
* alts: Forward-fix of ALTS queuing of handshake requests.
2024-01-11 13:08:21 -05:00
Antoine Tollenaere
6bc19068a7
xds: add support for mTLS Credentials in xDS bootstrap ( #6757 )
2024-01-04 12:34:53 -08:00
Matthew Stevenson
71cc0f1675
Revert "alts: Queue ALTS handshakes once limit is reached rather than dropping. ( #6884 )" ( #6903 )
...
This reverts commit adc76852e0 .
2023-12-28 14:33:59 -08:00
Matthew Stevenson
adc76852e0
alts: Queue ALTS handshakes once limit is reached rather than dropping. ( #6884 )
...
* alts: Queue ALTS handshakes once limit is reached rather than dropping.
* Fix alts_test.go failure.
2023-12-19 13:36:09 -08:00
Matthew Stevenson
444749dedf
alts: Record network latency and pass it to the handshaker service. ( #6851 )
...
* alts: Record network latency and pass it to the handshaker service.
* Fix vet.sh warnings.
* Fix protoc version issue.
* Address review comments.
2023-12-15 14:06:46 -08:00
Easwar Swaminathan
836e5de556
credentials/alts: update handshaker.pb.go ( #6857 )
2023-12-14 11:57:40 -08:00
Zach Reyes
59c0aec9dc
xDS: Atomically read and write xDS security configuration client side ( #6796 )
2023-11-15 13:54:29 -05:00
Doug Fawley
424db25679
credentials: if not set, restrict to TLS v1.2+ and CipherSuites per RFC7540 ( #6776 )
2023-11-15 07:10:20 -08:00
Matthew Stevenson
6e14274d00
Revert "alts: Reduce ALTS counter overflow length from 5 to 4. ( #6699 )" ( #6746 )
...
This reverts commit 7b8d0fde07 .
2023-10-24 15:13:54 -07:00
Matthew Stevenson
7b8d0fde07
alts: Reduce ALTS counter overflow length from 5 to 4. ( #6699 )
2023-10-24 14:39:35 -07:00
Blake Ramsdell
32e3ef1ed1
credentials/tls: Use Go cipher suites to find TLS suite string name ( #6709 )
2023-10-10 15:21:50 -07:00
Mike Maloney
313861efe5
Explicitly specify the `dns` schema for the ALTS hand-shaker. ( #6686 )
...
Before this change applications that override the default resolver may
not be able to talk to the metadata server to start the ALTS Handshake,
resulting in DirectPath not being used.
2023-10-10 09:30:27 -07:00
Doug Fawley
fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` ( #6544 )
2023-08-14 09:04:46 -07:00
Easwar Swaminathan
d524b40946
multiple: update dependencies after 1.57 branch cut ( #6452 )
2023-07-18 14:09:46 -07:00
Matthew Stevenson
907bdaa1eb
alts: Read max number of concurrent ALTS handshakes from environment variable. ( #6267 )
...
* Read max number of concurrent ALTS handshakes from environment variable.
* Refactor to use new envconfig file.
* Remove impossible if condition in acquire().
* Use weighted semaphore.
* Add e2e test for concurrent ALTS handshakes.
* Separate into client and server semaphores.
* Use TryAcquire instead of Acquire.
* Attempt to fix go.sum error.
* Run go mod tidy compat=1.17.
* Update go.mod for examples subdirectory.
* Run go mod tidy -compat=1.17 on examples subdirectory.
* Update go.mod in subdirectories.
* Update go.mod in security/advancedtls/examples.
* Missed another go.mod update.
* Do not upgrade glog because it requires Golang 1.19.
* Fix glog version in examples/go.sum.
* More glog cleanup.
* Fix glog issue in gcp/observability/go.sum.
* Move ALTS env var into envconfig.go.
* Fix go.mod files.
* Revert go.sum files.
* Revert interop/observability/go.mod change.
* Run go mod tidy -compat=1.17 on examples/.
* Run gofmt.
* Add comment describing test init function.
2023-06-07 18:54:06 -07:00
Matthew Stevenson
e325737cac
alts: Fix flaky ALTS TestFullHandshake test. ( #6300 )
...
* Fix flaky ALTS FullHandshake test.
* Fix one other flake possibility.
* fix typo in comment
* Wait for full handshake frames to arrive from peer.
* Remove runtime.GOMAXPROCS from the test.
* Only set vmOnGCP once.
2023-05-25 15:05:50 -07:00
Matthew Stevenson
5a50b970cc
Revert "Revert "credentials/alts: defer ALTS stream creation until handshake …" ( #6179 )
2023-04-11 14:56:13 -07:00
Matthew Stevenson
06de8f851e
alts: Add retry loop when making RPC in ALTS's TestFullHandshake. ( #6183 )
2023-04-11 11:36:21 -07:00
Matthew Stevenson
17b693d784
alts: Perform full handshake in ALTS tests. ( #6177 )
2023-04-10 08:59:12 -07:00
Easwar Swaminathan
415ccdf154
go.mod: update all dependencies after 1.54 branch cut ( #6132 )
2023-03-28 16:03:41 -07:00
Zach Reyes
277bb6429a
Revert "credentials/alts: defer ALTS stream creation until handshake time ( #6077 )" ( #6148 )
...
This reverts commit c84a5005d9 .
2023-03-23 19:34:27 -04:00
Matthew Stevenson
c84a5005d9
credentials/alts: defer ALTS stream creation until handshake time ( #6077 )
2023-03-17 09:09:42 -07:00
Easwar Swaminathan
33df9fc43d
credentials/xds: improve error message upon SAN matching failure ( #6080 )
2023-03-07 10:03:02 -08:00
Arvind Bright
8ba23be961
cmd/protoc-gen-go-grpc: bump -version to 1.3.0 for release ( #6064 )
2023-03-01 09:58:20 -08:00
Borja Lazaro Toralles
3151e834fa
cmd/protoc-gen-go-grpc: export consts for full method names ( #5886 )
2023-02-01 13:20:35 -08:00
Theodore Salvo
f2fbb0e07e
Deprecate use of `ioutil` package ( #5906 )
...
Resolves https://github.com/grpc/grpc-go/issues/5897
2023-01-03 11:20:20 -08:00
Theodore Salvo
c90744f16a
oauth: mark `NewOauthAccess` as deprecated and update examples to use `TokenSource` ( #5882 )
...
* Mark NewOauthAccess as deprecated & change examples
* Fix composite literal uses unkeyed fields for v1.19
2022-12-27 21:06:47 -06:00
Doug Fawley
3011eaf70e
test/tools: update staticcheck version to latest ( #5806 )
2022-11-18 13:51:43 -08:00
Doug Fawley
fefb3ec0c0
test/tools: update everything to latest versions except staticcheck ( #5805 )
2022-11-18 11:26:37 -08:00
Doug Fawley
778860e606
testing: update Go to 1.19 ( #5717 )
2022-10-17 15:04:34 -07:00
Doug Fawley
12db695f16
grpc: restrict status codes from control plane (gRFC A54) ( #5653 )
2022-10-04 15:13:23 -07:00
RedHawker
182e9df160
Grab comment from proto file, similar to protoc-gen-go ( #5540 )
2022-09-06 12:35:40 -07:00
Easwar Swaminathan
60a3a7e969
cleanup: fixes for issues surfaced by vet ( #5617 )
2022-09-02 14:09:10 -07:00
Easwar Swaminathan
ddcda5f76a
alts: do not set WaitForReady on handshaker RPCs ( #5620 )
2022-08-31 14:37:02 -07:00