lightning-terminal/itest
Boris Nagaev 1629e3106a
session: fix mailbox TLS ALPN regression
Starting in grpc-go v1.67.0, clients and servers reject TLS handshakes when
ALPN is not negotiated. This changed the default value of
GRPC_ENFORCE_ALPN_ENABLED from false to true.

The default flip is in https://github.com/grpc/grpc-go/pull/7535

Our mailbox transport handshake can reach endpoints that currently do not
negotiate ALPN, so LNC session setup started failing and the lnc_auth flow
timed out, with malformed header/content-type errors showing up later on the
stream path.

This adds mailbox-specific TLS transport credentials that allow a missing
negotiated ALPN value for mailbox links. The mailbox server path and the
integration-test mailbox clients now use these credentials, so session
establishment works again.
2026-04-05 17:21:21 -05:00
..
assertions.go itest: add custom channel integration test 2024-12-19 21:21:39 +01:00
litd_accounts_test.go itest: formatting enhancements for tap payments 2025-10-15 11:07:21 +02:00
litd_firewall_test.go session: fix mailbox TLS ALPN regression 2026-04-05 17:21:21 -05:00
litd_mode_integrated_test.go session: fix mailbox TLS ALPN regression 2026-04-05 17:21:21 -05:00
litd_mode_remote_test.go itest: add a stateless_init test 2024-10-14 16:57:00 +02:00
litd_node.go itest: remove custom channels tests and backward compat infrastructure 2026-03-16 15:37:49 +01:00
litd_stateless_init_test.go itest: add a stateless_init test 2024-10-14 16:57:00 +02:00
litd_test.go itest: remove custom channels tests and backward compat infrastructure 2026-03-16 15:37:49 +01:00
litd_test_list_off_test.go multi: remove legacy // +build tag Lines 2025-11-25 01:38:22 +01:00
litd_test_list_on_test.go itest: remove custom channels tests and backward compat infrastructure 2026-03-16 15:37:49 +01:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
network_harness.go itest: remove custom channels tests and backward compat infrastructure 2026-03-16 15:37:49 +01:00
server_harness.go itest: export ServerHarness publicly 2023-05-11 00:55:14 +02:00
test_harness.go itest: remove custom channels tests and backward compat infrastructure 2026-03-16 15:37:49 +01:00