boulder/grpc
Jacob Hoffman-Andrews 04dec59c67
ra: log User-Agent (#7908)
In the WFE, store the User-Agent in a `context.Context` object. In our
gRPC interceptors, pass that field in a Metadata header, and re-add it
to `Context` on the server side.

Add a test in the gRPC interceptors that User-Agent is properly
propagated.

Note: this adds a new `setup()` function for the gRPC tests that is
currently only used by the new test. I'll upload another PR shortly that
expands the use of that function to more tests.

Fixes https://github.com/letsencrypt/boulder/issues/7792
2025-01-14 13:39:41 -08:00
..
creds Dynamically generate grpc-creds at integration test startup (#7477) 2024-05-15 11:31:23 -04:00
internal Add go1.23.0 to CI (#7665) 2024-08-23 14:56:53 -07:00
noncebalancer WFE/nonce: Add NonceHMACKey field (#7793) 2024-11-13 10:31:28 -05:00
test_proto Use generic types for gRPC stream implementations (#7501) 2024-05-24 13:54:25 -07:00
client.go grpc: client/server histogram bucket change (#7591) 2024-07-16 10:36:57 -07:00
client_test.go wfe2: don't pass through client-initiated cancellation (#6608) 2023-01-26 17:26:15 -08:00
errors.go Add go1.23.0 to CI (#7665) 2024-08-23 14:56:53 -07:00
errors_test.go Lay the groundwork for supporting IP identifiers (#7692) 2024-08-30 11:40:38 -07:00
generate.go Unify protobuf generation (#5458) 2021-06-07 08:49:15 -07:00
interceptors.go ra: log User-Agent (#7908) 2025-01-14 13:39:41 -08:00
interceptors_test.go ra: log User-Agent (#7908) 2025-01-14 13:39:41 -08:00
pb-marshalling.go VA: Make performRemoteValidation more generic (#7847) 2024-11-27 15:29:33 -05:00
pb-marshalling_test.go VA: Make PerformValidation more like DoDCV (#7828) 2024-11-20 14:13:55 -05:00
protogen.sh Use generic types for gRPC stream implementations (#7501) 2024-05-24 13:54:25 -07:00
resolver.go Re-enable errcheck linter (#6819) 2023-04-14 15:41:12 -04:00
resolver_test.go grpc: Implement a static multiple IP address gRPC resolver (#6270) 2022-08-05 10:20:57 -07:00
server.go grpc: client/server histogram bucket change (#7591) 2024-07-16 10:36:57 -07:00
server_test.go grpc/sa: Implement deep health checks (#6928) 2023-06-12 13:58:53 -04:00
skew.go gRPC: reject request if clock skew is too large (#7686) 2024-08-29 11:32:24 -07:00
skew_integration.go gRPC: reject request if clock skew is too large (#7686) 2024-08-29 11:32:24 -07:00