Server over TLS: a certificate signed by the instance key, /api/v1/instance, no uid over TCP issue #20 closed: completed andymccall opened this · 0 comments
andymccall set labels feature, security ·
andymccall set milestone Sprint 2 ·
andymccall referenced by change b576d05cf862 on main ·
andymccall closed ·
Spec §8.6 "The server", §21.1, §22.1.
[server] bindbeyond loopback withtls = "auto": a P-256 key and self-signed certificate in<data>/keys/tls.{key,crt}, made on first start, naming[server] names(default: host name and FQDN); ortls = { cert, key }."spectra1 tls " || SHA-256(SPKI)(challenge signing); recorded asinstance.tls;spectra admin verifychecks it.GET /api/v1/instancewithout authentication: name, instance identity, owner key, SPKI hash, binding signature.guard.impersonation.spectra serverefuses non-loopback plain HTTP without--insecure(unchanged).Done when: an end-to-end test serves TLS on 127.0.0.1:0 with
tls = "auto", a client reads the certificate, checks the binding against the instance key, and makes a signed MCP call.