mirror of
https://github.com/hanzoai/mpc.git
synced 2026-10-30 19:45:28 +00:00
P0-mpc-1: /v1/mpc/health no longer leaks node identity. Probes return
{"status":"ok"} only; node info moved behind identity-gated /v1/mpc/info.
Drop the duplicate /v1/mpc/health handler in pkg/mpc/embed.go.
P0-mpc-2: drop port 9999 from Service in non-consensus deploys (default).
Only expose when consensus is explicitly enabled. Stops fingerprintable
closed-port + future surprise-bind on operator upgrade.
P0-mpc-3: cmd/mpcd/consensus.go internal API key compare now uses
crypto/subtle.ConstantTimeCompare. Closes Bearer-token timing leak.
P0-mpc-4: cmd/mpcd/consensus.go Fatal in production when
MPC_INTERNAL_API_KEY is unset and MPC_HSM_PROVIDER!=env. No more
deriving keys from disk-readable Ed25519 seed.
CC: pkg/auth/middleware.go now rejects empty X-Org-Id when require=true
(defense-in-depth). cmd/mpcd/main.go forces MPCD_REQUIRE_IDENTITY=true
when HANZO_DEPLOYMENT_MODE=cloud (Fatal on conflict).
Tests: pkg/auth + pkg/mpc both PASS.
Closes Red 2026-04-27 mpc findings.
9 lines
137 B
YAML
9 lines
137 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: hanzo
|
|
|
|
resources:
|
|
- deployment.yaml
|
|
- networkpolicy.yaml
|