Commit Graph

338 Commits

Author SHA1 Message Date
janardhanvissa d3d2702d29
cleanup: replace dial with newclient (#8196) 2025-05-12 10:57:47 +05:30
eshitachandwani 4680429852
credentials/local: implement ValidateAuthority (#8291) 2025-05-09 02:24:49 +05:30
Luwei Ge 41095aeec6
[alts] add keepalive params to the alts handshaker client dial option (#8293)
* add keepalive params to the alts handshaker client dial option

* no need to permit without stream

* address comment

* add env var protection

* go vet
2025-05-07 09:48:59 -07:00
Matthew Stevenson 00be1e1383
[alts] Add plumbing for the bound access token field in the ALTS StartClient request. (#8284) 2025-05-05 08:07:34 -07:00
eshitachandwani 080f9563df
credentials, transport, grpc : add a call option to override the :authority header on a per-RPC basis (#8068) 2025-04-30 14:41:28 +05:30
eshitachandwani 6821606f35
grpc: regenerate protos (#8277) 2025-04-29 16:59:06 +05:30
Arjan Singh Bal 399e2d048c
credentials/alts: Optimize Reads (Roll forward #8236) (#8271) 2025-04-29 11:19:39 +05:30
Arjan Singh Bal 2640dd7b09
atls: Clarify usage of dst in ALTSRecordCrypto interface docs (#8266) 2025-04-22 23:35:19 +05:30
Gregory Cooke 58d1a72b99
[Security] Add verification logic using SPIFFE Bundle Maps in XDS (#8229)
Add verification logic using SPIFFE Bundle Maps in XDS
2025-04-22 13:43:29 -04:00
Vadim Shtayura f7d488de75
credentials: expose NewContextWithRequestInfo publicly (#8198) 2025-04-21 16:30:52 -07:00
Arjan Singh Bal 6bfa0ca35b
Rollback #8232 and #8204 (#8236)
* Revert "credentials/alts: Add comments to clarify buffer sizing (#8232)"

This reverts commit be25d96c52.

* Revert "credentials/alts: Optimize reads (#8204)"

This reverts commit b368379ef8.
2025-04-08 23:21:49 +05:30
Arjan Singh Bal be25d96c52
credentials/alts: Add comments to clarify buffer sizing (#8232) 2025-04-08 09:03:28 +05:30
Arjan Singh Bal b368379ef8
credentials/alts: Optimize reads (#8204) 2025-04-07 11:51:14 +05:30
Gregory Cooke 4b5505d301
[Security] Add support for SPIFFE Bundle Maps in XDS bundles (#8180)
This adds support for configuring SPIFFE Bundle Maps inside of credentials via xds bundles.

See the gRFC for more detail grpc/proposal#462
2025-04-04 13:12:53 -04:00
eshitachandwani 52c643eb74
deps: update dependencies for all modules (#8221)
* update deps

* protos update
2025-04-04 09:54:18 +05:30
Gregory Cooke 1f6b0cff02
[Security] Add support for SPIFFE Bundle Maps in certificate providers (#8167) 2025-03-17 14:39:04 -04:00
janardhanvissa b0f5027011
cleanup: replace dial with newclient (#7970) 2025-02-28 13:53:16 +05:30
Arjan Singh Bal dbf92b436d
deps: update dependencies for all modules (#8108) 2025-02-25 15:21:44 -08:00
Arjan Singh Bal ad5cd321d0
cleanup: Remove test contexts without timeouts (#8072) 2025-02-12 00:39:01 +05:30
Matthieu MOREL b963f4b2da
deps: bump envoyproxy/go-control-plane/envoy and synchronize go.mods (#8067) 2025-02-06 12:11:14 +05:30
pvsravani ee3e8d90c4
test: modify tests to use stubserver instead of Testservice implementation (#8022) 2025-02-03 12:42:33 +05:30
Arjan Singh Bal eb1added1d
credentials: Add experimental credentials that don't enforce ALPN (#7980) 2025-01-15 17:25:42 +05:30
eshitachandwani f9bc335fc5
deps: update dependencies for all modules (#7987)
deps: update dependencies for all modules
2025-01-13 09:39:03 +05:30
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