mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
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. |
||
|---|---|---|
| .. | ||
| migration1 | ||
| migration2 | ||
| migtest | ||
| context.go | ||
| errors.go | ||
| interface.go | ||
| kvdb_store.go | ||
| log.go | ||
| macaroon.go | ||
| metadata.go | ||
| privacy_flags.go | ||
| privacy_flags_test.go | ||
| server.go | ||
| sql_migration.go | ||
| sql_migration_test.go | ||
| sql_store.go | ||
| store_test.go | ||
| test_kvdb.go | ||
| test_postgres.go | ||
| test_sql.go | ||
| test_sqlite.go | ||
| tls_credentials.go | ||
| tlv.go | ||
| tlv_test.go | ||