Keyring

Make and use the keys that sign Knowledge OS packs, on this computer only. The root key certifies publishers and nothing else; keep its backup offline. Packs are signed by a certified publisher key. The format is ECDSA P-256 / SHA-256, the Memeroot substrate's own.

Create the root key

  1. Do this once, ideally with the network off. This page cannot reach the network in any case.
  2. Choose a long passphrase you can recall; it encrypts the backup (PBKDF2-SHA256, 600,000 iterations; AES-256-GCM).
  3. Save the backup twice, on two offline media. Without it and its passphrase the root cannot be used; nobody can recover it.
  4. Publish roots.xml and the fp256 fingerprint (README, website): installers pin it.

Create a publisher key

The key you sign packs with. You can also certify an existing substrate identity instead (tab 3, using its mr-identity-public-v1 file): its past signatures keep their lineage.

Certify a publisher

The certificate binds the publisher's key to a scope: which kinds of pack it may sign, and the highest effect such a pack may declare. Bishop, 9 May 2000: “the degree of sandboxing controlled by the signer and bound to the certificate”.

Sign packs

Each pack is verified first: every block hash, the content root and any signatures already on it. A pack that does not verify is not signed.

Verify packs

Who are you, where did you come from, what are you going to do: the answer each pack gives, and whether its signatures chain to a root you pin.

Revoke keys

A revocation list is signed by the root and numbered; installers keep the highest number they have seen. Give every revoked key's fp256, one per line.