CAIN-42 MCPGate
CAIN-42 is an AGI–RSI superorganism — a governed collective intelligence running on a Byzantine trust fabric. Every agent in a trust domain can see what every other AI agent is doing through one governed shared memory — every action, every record and every result — across long-horizon governed missions, with verified writes, visible uncertainty and no authority from memory. AGI: NOT ACHIEVED · NOT ESTABLISHED · RSI: EXPERIMENTAL. E148 · confirmatory RSI · E147 · proposer · E146 · RSI fix · E145 · 2,188 units · E144 · E142 · E135 · 35/48 · APEX · RSI Lab · Two Labs · AGI+RSI Index · Investor
CAIN-42AGI–RSI Academy

CEFV · Module 3 of 5 · 12 min

Signatures, pinned keys and key swaps

AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL

Ed25519 signatures prove a record was signed by the holder of a private key. They prove nothing if the verifier accepts whatever public key ships with the evidence.

Pin the expected public key out of band (published fingerprint, prior bundle, /.well-known keys) and require it. CAIN's verifiers take a --pinned-pub argument for exactly this.

A classic forgery: replace the records, re-sign with your own key, ship your key in the bundle. Pinning defeats it.

Key points

  • A signature binds data to a key, not to a vendor.
  • Pin the key out of band.
  • Key-swap forgery is defeated by pinning.

In the CAIN-42 codebase

  • keystone/family_verify.py — verifier with pinned public key

Practice check

Practice 1 · choose one

An attacker re-signs edited evidence with their own key and ships it. What stops this?

Practice 2 · true or false

“A valid signature proves the record came from the vendor regardless of which key was used.”