chore(deps): publish keyless_tls upstream, pin to v0.0.1-0.20260304212324-7733f8366abc
Remove local replace directive. Pin go.mod to the exact upstream commit containing server-side mTLS configuration options. Update AGENTS.md invariant to reflect published module model.
cognitive committed
Mar 4, 2026 at 21:25 UTC
2a495aa408b582b31488f98014824f774780ba3e
3 files changed
+5
-5
AGENTS.md
+2
-2
@@ -48,8 +48,8 @@ Source of truth for architecture decisions: `docs/adr/README.md` and linked ADRs
48
3. **All relay URLs must be `https://`.** `NormalizeRelayAPIURL` rejects non-HTTPS. SDK and tunnel hard-fail on `http://`.
49
- Why: enforces transport security without opt-out.
50
51
-4. **`keyless_tls/` is a local Go sub-module** (`replace` directive in root `go.mod`). Not published separately.
52
- - Why: coupled evolution with the relay; separate `go.mod` for dependency isolation only.
51
+4. **`keyless_tls/` is published to `github.com/gosuda/keyless_tls`** and vendored as a directory for co-development. Root `go.mod` pins a specific pseudo-version or tag — no `replace` directive.
52
+ - Why: enables external consumers while keeping co-development convenient. Pin version after pushing upstream changes.
53
54
## SNI Routing Invariants
55
go.mod
+1
-3
@@ -4,13 +4,11 @@ go 1.26.0
4
5
require (
6
github.com/go-acme/lego/v4 v4.32.0
7
- github.com/gosuda/keyless_tls v0.0.0
7
+ github.com/gosuda/keyless_tls v0.0.1-0.20260304212324-7733f8366abc
8
github.com/rs/zerolog v1.34.0
9
golang.org/x/net v0.51.0
10
)
11
12
-replace github.com/gosuda/keyless_tls => ./keyless_tls
13
-
12
require (
13
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
14
github.com/go-jose/go-jose/v4 v4.1.3 // indirect
go.sum
+2
@@ -10,6 +10,8 @@ github.com/go-jose/go-jose/v4 v4.1.3/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9
10
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
11
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
12
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
13
+github.com/gosuda/keyless_tls v0.0.1-0.20260304212324-7733f8366abc h1:aS9LQ35x6EtrGKCmOWRj6Y9aQ2l5hP8dVva4oxB9VEg=
14
+github.com/gosuda/keyless_tls v0.0.1-0.20260304212324-7733f8366abc/go.mod h1:BOhUZgiAAQzxKO3QcC4fCXgd/+lqxgIu1OyIYTqtta8=
15
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
16
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
17
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=