Load v3 certificates and composite keys, speak v2 messages over v3 tunnels, and match ca_sha on either CA fingerprint

This commit is contained in:
JackDoan committed 2026-10-14 11:03:04 -05:00
1 parent ab89556c5c
commit 5c5254dc18
6 files changed
+156 -14

No files matched your search

+2 -2
View File
@@ -839,7 +839,7 @@ func (lh *LightHouse) innerQueryServer(addr netip.Addr, nb, out []byte) {
for _, lhVpnAddr := range lighthouses {
hi := lh.ifce.GetHostInfo(lhVpnAddr)
if hi != nil {
v = hi.ConnectionState.myCert.Version()
v = protocolVersion(hi.ConnectionState.myCert.Version())
} else {
v = lh.ifce.GetCertState().initiatingVersion
}
@@ -1001,7 +1001,7 @@ func (lh *LightHouse) SendUpdate() {
var v cert.Version
hi := lh.ifce.GetHostInfo(lhVpnAddr)
if hi != nil {
v = hi.ConnectionState.myCert.Version()
v = protocolVersion(hi.ConnectionState.myCert.Version())
} else {
v = lh.ifce.GetCertState().initiatingVersion
}