Commit Graph

315 Commits

Author SHA1 Message Date
Purnesh Dixit 645aadf4bd
deps: update dependencies for all modules (#7904) 2024-12-05 17:46:58 +05:30
Halvard Skogsrud 3ce87dd380
credentials/google: Add cloud-platform scope for ADC (#7887) 2024-12-02 10:27:55 -08:00
Brad Town 93f1cc163b
credentials/alts: avoid SRV and TXT lookups for handshaker service (#7861) 2024-11-22 10:46:40 -08:00
Luwei Ge db700b7611
credentials: remove the context timeout to fix token request failure with non-GCE ADC (#7845)
* Remove the context timeout to fix token request failure with non-GCE ADC

* address comment

* fix vet
2024-11-19 14:08:14 -08:00
Luwei Ge cb329375b1
credentials: Support ALTSPerRPCCreds in DefaultCredentialsOptions (#7775)
* Replace the gRFC pull request with the permanent link.

* add ALTSPerRPCCreds in DefaultCredentialsOptions to support channel aware RPC creds

* go vet

* address comment
2024-10-25 16:28:17 -07:00
Arjan Singh Bal 80937a99d5
credentials: Apply defaults to TLS configs provided through GetConfigForClient (#7754) 2024-10-22 22:58:16 +05:30
Purnesh Dixit 98959d9a49
deps: update dependencies for all modules (#7755)
* Update gRPC-Go's dependency versions on master

* update protos

* disabled redefines-builtin-id lint rule
2024-10-18 21:07:37 +05:30
Nathan Baulch 3b626a7b52
*: fix more typos (#7619) 2024-09-16 10:58:27 -07:00
Purnesh Dixit 04e78b0faf
.*: fix lint issues of not having comments for exported funcs and vars along with any remaining issues and enable remaining disabled rules (#7575)
* .*: fix lint issues of not having comments for exported funcs and vars along with any remaining issues and enable remaining disabled rules
2024-09-16 09:09:49 +05:30
janardhanvissa c6ad07fa04
protoc: regenerate protos (#7590)
* Regenerating proto files

---------

Co-authored-by: Vissa Janardhan Krishna Sai <vissajanardhan@google.com>
2024-09-06 21:03:53 +05:30
Arjan Singh Bal 70f19eecd1
credentials/tls: default GRPC_ENFORCE_ALPN_ENABLED to true (#7535) 2024-09-04 16:54:56 +05:30
janardhanvissa 0f03c747b1
.*: fix revive lint issues `unused-parameter` (#7580) 2024-09-03 09:32:50 -07:00
Arvind Bright 8320224ff0
.*: revive from unused_parameters (#7577) 2024-08-30 10:41:30 -07:00
Jonathan Halterman 6a5a283b69
Use builtin min and max functions (#7478)
* Use builtin min and max functions

Go added builtin min and max functions in 1.21. This commit removes existing functions and uses the built-ins in stead.

* Revert gofmt changes
2024-08-20 10:42:02 +05:30
Arjan Singh Bal 90caeb34c8
deps: update dependencies for all modules (#7531)
* Bump dependencies after release branch cut

* Regenerate protos
2024-08-19 22:54:01 +05:30
Nathan Baulch c8951abc16
*: fix minor typos (#7487)
* Fix typos

* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Easwar Swaminathan 3ee837cc72
*.pb.go: regenerate protos (#7493) 2024-08-08 16:33:41 -07:00
Connor Hindley 1013847d13
cmd/protoc-gen-go-grpc: fix typo pancis -> panics (#7456) 2024-07-31 09:15:08 -07:00
Doug Fawley ec9dff77b1
cmd/protoc-gen-go-grpc: update version to 1.5.1 (#7452) 2024-07-29 10:04:12 -07:00
Arjan Singh Bal bc03420be1
cmd/protoc-gen-go-grpc: update version for release 2024-07-26 21:02:21 +05:30
Doug Fawley 9671c4a8c5
cmd/protoc-gen-go-grpc: test the embedded struct at registration time for proper usage (#7438) 2024-07-24 14:52:45 -07:00
infovivek2020 e7d88223a7
protoc-gen-go-grpc: add period to end of generated comment (#7392) 2024-07-12 08:59:09 -07:00
hasson82 bdd707e642
scripts: add linter rule for using context.WithTimeout on tests (#7342) 2024-07-03 19:22:54 -04:00
Mike Kruskal 98e5deebae
cmd/protoc-gen-go-grpc: enable edition 2023 support (#7351) 2024-06-26 10:34:11 -07:00
Abhishek Ranjan 24a6b48bc8
credentials/alts: fix defer in TestDial (#7301) 2024-06-13 09:31:01 -07:00
Arvind Bright 1958fcbe2c
cmd/protoc-gen-go-grpc: update version for release (#7294) 2024-05-31 13:41:25 -07:00
Artem V. Navrotskiy 24e9024375
Fix close in use certificate providers after double `Close()` method call on wrapper object (#7128) 2024-05-29 16:56:25 -07:00
Arvind Bright 58cfe27883
deps: update dependencies for all modules (#7274) 2024-05-29 09:40:18 -07:00
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