Commit Graph

130 Commits

Author SHA1 Message Date
Zach Reyes 967ba46140
balancer/pickfirst: Add pick first metrics (#7839) 2024-11-26 10:56:48 -08:00
Arjan Singh Bal 3db86e2e4b
deps: Remove go patch version from go.mod (#7831) 2024-11-13 01:21:41 +05:30
Arjan Singh Bal 4bb0170ac6
status: Fix status incompatibility introduced by #6919 and move non-regeneratable proto code into /testdata (#7724) 2024-10-22 23:16: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
eshitachandwani ac41314504
.*: Add missing a newline at the end (#7644) 2024-09-18 14:46:09 +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
Arjan Singh Bal 393fbc3ad6
Update dependencies after 1.67 branch cut (#7624) 2024-09-13 11:01:29 +05:30
Purnesh Dixit b6fde8cdd1
vet: add check for trailing spaces (#7576)
* vet: trailing spaces check
2024-09-12 11:40:38 +05:30
Arvind Bright 8320224ff0
.*: revive from unused_parameters (#7577) 2024-08-30 10:41:30 -07:00
Arvind Bright 845f62caf4
stats/otel: upgrade grpc version that contains the experimental/stats package (#7545) 2024-08-29 14:34:13 -07:00
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 48b7581b56
security/advancedtls: remove Go1.19 build constraints (#7404) 2024-07-10 15:38:24 -07:00
Arjan Singh Bal e40eb2e2c1
deps: update dependencies for all modules (#7310) 2024-06-07 09:56:56 -07:00
Gregory Cooke dbd24a9e81
[advancedTLS] Removed deprecated APIs in advancedTLS (#7303)
* remove deprecated APIs from advancedTLS
2024-06-06 14:33:42 -04:00
Arvind Bright 32f60917be
*: update deps (#7282) 2024-05-31 13:36:20 -07:00
Arvind Bright 58cfe27883
deps: update dependencies for all modules (#7274) 2024-05-29 09:40:18 -07:00
Matthew Stevenson 11872f1162
advancedtls: add CipherSuites to Options (#7269) 2024-05-29 09:02:03 -07:00
Roland Bracewell Shoemaker a4593c5881
advancedtls: use realistic ciphersuite in test (#7273)
Instead of 3DES, something which should basically never be used in
production. Go is removing default support for 3DES is Go 1.24,
requiring new modules to opt into support for this cipher.
2024-05-29 10:56:01 -04:00
Ramesh M 5ffe0ef48c
advancedtls: populate verified chains when using custom buildVerifyFunc (#7181)
* populate verified chains when using custom buildVerifyFunc
2024-05-22 17:23:35 -04:00
Doug Fawley 2f52f9e005
examples: update remaining uses of grpc.Dial to NewClient (#7248) 2024-05-21 14:14:17 -07:00
Gregory Cooke 2d2f417db3
advancedTLS: unset a deprecated field after copying it (#7239) 2024-05-20 21:25:48 -07:00
Gregory Cooke 0020ccf9d9
advancedTLS: Documentation (#7213)
Add documentation for advancedTLS package
2024-05-13 14:03:03 -04:00
Gregory Cooke 3bf7e9a6b8
advancedTLS: Add in deprecated name for transitionary period (#7221) 2024-05-09 14:38:56 -07:00
Gregory Cooke c76f686c51
advancedTLS: Rename get root certs related pieces (#7207) 2024-05-08 07:59:33 -07:00
Gregory Cooke 911d5499f7
advancedTLS: Combine `ClientOptions` and `ServerOptions` to just `Options` (#7202)
* rename to Options

* added some documentation

* typos
2024-05-06 16:46:59 -04:00
Gregory Cooke 4879d51a59
advancedTLS: Swap to DenyUndetermined from AllowUndetermined in revocation settings (#7179)
* swap to `DenyUndetermined` from `AllowUndetermined`
2024-05-06 13:40:28 -04:00
Gregory Cooke befc29de93
advancedTLS: Rename {Min/Max}Version to {Min/Max}TLSVersion (#7173)
* rename `MinVersion` and `MaxVersion` to `MinTLSVersion` and `MaxTLSVersion`
2024-05-06 12:59:03 -04:00
Gregory Cooke b433b9467d
advancedtls: Rename RevocationConfig (#7151) 2024-04-30 11:00:35 -07:00
Gregory Cooke 5ab1c1ad93
advancedtls: Add notes about required vs. optional for FileWatcherOptions (#7165) 2024-04-30 09:44:07 -07:00
Arjan Singh Bal 4e8f9d4a1e
advancedtls: fix docstring for VerificationResults (#7168) 2024-04-24 07:41:14 -07:00
Arvind Bright cb9c22d501
vet: run staticcheck for all sub modules (#7155) 2024-04-23 11:47:30 -07:00
Gregory Cooke d75b5e2f5e
advancedtls: Rename custom verification function APIs (#7140)
* Rename custom verification function APIs
2024-04-23 14:20:28 -04:00
Gregory Cooke 5fe2e74bf4
advancedtls: Rename VType (#7149)
* renamed VType to VerificationType and add deprecation note
2024-04-19 14:02:42 -04: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
Gregory Cooke fc8da03081
advancedtls: unexport parts of API not meant to be public (#7118) 2024-04-17 08:32:56 -07:00
Doug Fawley f1cf6bf0b7
*: update http2 dependency (#7081) 2024-04-03 11:30:53 -07:00
Zach Reyes ba1bf9e7e0
deps: update dependencies for all modules (#7061) 2024-03-27 14:42:11 -04: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
Gina Yeh 27c5d98b94
deps: update dependencies for all modules (#7007) 2024-02-28 11:15:27 -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
erm-g 408139acc3
security/advancedtls: CRL checks improvement (#6968) 2024-02-14 15:33:38 -08:00
Zach Reyes 5051eeae53
grpc: Update go mod (#6939) 2024-01-24 19:10:36 -05:00
Roland Bracewell Shoemaker 686fdd8da1
security/advancedtls: fix test that relies on min TLS version (#6824)
Bump the version in tls.ClientHelloInfo.SupportedVersions to
tls.VersionTLS12 (security/advancedtls/advancedtls_test.go)
2023-12-12 17:42:22 -05:00
erm-g 02ea031697
Bugfix for broken import (#6816) 2023-11-22 13:09:54 -05:00
Gregory Cooke 287c47355e
Mark old CRL APIs as deprecated (#6810) 2023-11-21 10:00:46 -05:00
Arvind Bright 40c279a85d
deps: update dependencies for all modules (#6795) 2023-11-14 12:58:37 -08:00
erm-g be1d1c10a9
security/advancedtls: FileWatcher CRL provider initialization enhancement (#6760)
* Add initial scan as a part of FWCP creation

* Add comment about default value for RefreshDuration

* Promote Close() to the interface level

* Revert "Promote Close() to the interface level"

This reverts commit 465ebacc5c.
2023-11-08 14:10:14 -05:00
erm-g b82468a346
crl provider: Static and FileWatcher provider implementations (#6670)
* rename certificateListExt to CRL

* CRLProvider file

* Add CRLProvider to RevocationConfig

* Beginning refactor of CRL handling

* Shell of StaticCRLProvider

* basic static crl provider test

* use loadCRL helper

* refactor of CRL loading

* Table tests

* Table tests

* Add tests with Static CRL provider

* New certs to be used for CRL tests. Added test for passing and failing connections based on CRL check outcomes

* Main functionality of File Watcher (Directory) CRL provider

* Refactor async go routine, validate() func, add unit tests

* Custom error callback, related unit tests

* Error callback test improvement

* Comments for StaticCRLProvider

* Comments for public API

* go mod tidy

* Comments for tests

* Fix vet errors

* Change Static provider behavior to match C Core, address other PR comments

* Data race fix

* Test helper fn change

* Address PR comments

* Address PR comments (part 2)

* Migration from context to channel for controlling crl reloading goroutine

* Align in-memory CRL updates during directory scan to C++ behavior

* Improve comments for ScanCRLDirectory

* Base test case for Scan CRL Directory file manipulations

* full set of cases for CRL directory content manipulation

* Add comment for table test structure

* Fix for go.mod and go.sum

* Empty directoru workaround

* Delete deprecated crl functionality

* Restoring deprecated crl files

* Fit to grpctest.Tester pattern

* Update readme for crl provider tests

* Address PR comments

* Revert "Restoring deprecated crl files"

This reverts commit 56437603a4.

* Revert "Resolve conflicts with upstream - deletion of deprecated crl"

This reverts commit e0130640c46efd9a43649bf409c6e762ae66e225, reversing
changes made to 21f430135c.

Revert deletion

* Update link for gRFC proposal

* Address PR comments

* Address PR comments part 1

* Address PR comments part 2

* Address PR comments part 3

* Fix for go.mod and go.sum

* Fix comment typo

* Fix for gRFC tag

* Add more details to CRL api  godoc comments.

* Address PR comments

* Address PR comments

* Delete crl_deprecated.go and crl_deprecated_test.go

* Delete testdate/crl/provider/filewatcher directory and .gitignore under it

* Race test fix

* Address PR comments

* Address PR comments

* Refactor directory reloader test from checking size of crl map to querying individual entries approach

* Add extra case for RefreshDuration config test

* Update cpmment for table test structure

* Unexport scan scanCRLDirectory, drop related mutex, update the comments

* Update API comments, clear tmp dir after the tests

---------

Co-authored-by: Gregory Cooke <gregorycooke@google.com>
2023-10-30 20:41:22 -04:00