Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/docs/OWNER_KEY_CEREMONY.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / docs / OWNER_KEY_CEREMONY.md` 481 lines ยท 24291 bytes Raw Blame History Rendered 1 # Owner key ceremony: step by step (MacBook, Wi-Fi off) 2 3 STATUS: PREPARED, NOT RUN. Written 2026-10-12 for the owner's decision of 4 that day: "generate the owner signing key on the MacBook, offline (Wi-Fi 5 off), only while the owner is present; prepare the instructions and the 6 backup and recovery procedure now." Nothing on this page has been done with 7 a real key. Every command on it was run on 2026-10-12 with a throwaway key 8 and a throwaway passphrase on the Spark (Linux, OpenSSL 3.0.13) in a scratch 9 folder outside the repository; lines marked **check on the MacBook** are the 10 places where macOS may behave differently and nobody has tried them there. 11 SECURITY_IMPACT: KEYS (procedure only; no key material, no code that runs on 12 a machine). 13 14 **No private key, passphrase or backup copy ever goes into this repository, 15 onto the Spark, or into a chat.** Only the public key, its fingerprints and 16 signatures leave the MacBook (part 5). 17 18 This page is the plain-language companion of two existing pages and does 19 not replace them: `docs/TRUST-1-OPERATOR-STEPS.md` Step 8 (the TRUST-1 Gate 3 20 ceremony) and `docs/TRUST-1-ATTENDED-PACKAGE.md` Sitting E (what evidence the 21 sitting leaves). It uses the same tool they use, 22 `scripts/trust1_key_ceremony.sh`, so there is one ceremony and one owner 23 key, not two. 24 25 **Depends on:** the `ck_slot_tool tbs --pubkey` fix in aienos#324 (branch 26 `native-v1/p11-package-provenance`). Before that fix, a real OpenSSL signature 27 could never be attached to a slot manifest (the tool emitted the bytes to 28 sign with an empty signer field, then checked the signature with the signer 29 field filled in). Part 3, step 9 needs the fixed tool. Do not hold the 30 ceremony before that fix is merged. 31 32 --- 33 34 ## 1. What the key is and what it protects 35 36 Think of the owner key as the one signature stamp that the Spark will 37 believe. It comes in two halves: 38 39 - **The private half** (`owner_root.key.pem`) makes signatures. Whoever has it 40 can make the Spark accept new software as yours. It is created on the 41 MacBook, locked with your passphrase from the first moment (the tool never 42 writes it unlocked to disk), and it never leaves the MacBook except on the 43 two backup sticks. 44 - **The public half** (`owner_root.pub.pem`) only checks signatures. It is 45 safe to copy anywhere. The Spark gets this half. 46 47 What it protects, in this project: 48 49 - **Which software the native machine will start.** Every AIENOS image slot 50 carries a manifest (a small signed label saying "this exact image, 51 generation N, built from commit C") signed by the Owner Root Ed25519 key 52 (`native/boot/slot_format.h`, lines 32-33; `docs/NATIVE_IMAGE_SLOTS.md` 53 section 6). The loader starts an image only if that signature checks out 54 under a trusted owner public key (`native/boot/slot_select.c`, 55 `ck_slot_select`). 56 - **Which release package is yours.** A package's manifest binds the whole 57 package (image, `PACKAGE.txt`, `SHA256SUMS`) through one signature 58 (`docs/NATIVE_PACKAGE.md`, "What a package is"). 59 - **The TRUST-1 key hierarchy.** The same tool also creates the Boot Signer, 60 Release Signer and Operator Approval keys and an authority manifest signed 61 by the Owner Root (`scripts/trust1_key_ceremony.sh`, header; 62 `docs/TRUST-1-OPERATOR-STEPS.md` Step 8). This page focuses on the Owner 63 Root because that is the key the slot manifests use today. 64 65 Open point recorded, not decided here: the TRUST-1 hierarchy says the 66 Release Signer "signs kernels and manifests under the loader" 67 (`scripts/trust1_key_ceremony.sh`, `role.release_signer.duty`), while the 68 slot format today trusts the Owner Root directly for slot manifests 69 (`native/boot/slot_format.h` line 32). Which key signs routine releases is 70 a later design decision; this ceremony creates both, so either answer works 71 without a second ceremony. 72 73 **Two fingerprints, both correct, do not mix them up.** The ceremony record 74 prints `role.owner_root.pub_sha256`: the SHA-256 of the public key in its 75 44-byte standard file form. The slot manifests use `signer_id`: the SHA-256 76 of the bare 32-byte public key (`ck_slot_tool.c`, `sha256_hash(pk, 32, 77 m->signer_id)`). They are different numbers for the same key. On 78 2026-10-12's throwaway key they were ``73459826`...` and ``b77a9844`...`. 79 80 ## 2. Preparation (do this the day before, while the MacBook is online) 81 82 What to have on the table: 83 84 - The MacBook, charged, with Homebrew installed. 85 - **Two new USB sticks** for the backups. Label them by hand "OWNER KEY A" 86 and "OWNER KEY B". They hold the locked private key; they will be stored in 87 two different places. 88 - **A third stick** labelled "TRANSFER". It carries public files only, between 89 the MacBook and the Spark. 90 - **Paper and a pen**: one sheet for the passphrase (stored apart from the 91 sticks), one printout of the checklist in part 6. 92 - About 45 minutes with no interruptions. 93 94 Steps (in the Terminal app on the MacBook; open it from Applications > 95 Utilities > Terminal): 96 97 1. **Install OpenSSL 3.** macOS ships a different program called LibreSSL 98 under the name `openssl`; the ceremony tool refuses it 99 (`scripts/trust1_key_ceremony.sh`, `check_tools`). Type: 100 101 ``` 102 brew install openssl@3 103 ``` 104 105 *What it does:* downloads and installs OpenSSL 3. *Changes:* adds a 106 program to the MacBook; nothing else. *Success:* it ends without an 107 "Error" line. 108 109 2. **Tell the Terminal where it is.** Type: 110 111 ``` 112 export AIENOS_OPENSSL=/opt/homebrew/opt/openssl@3/bin/openssl 113 ``` 114 115 *What it does:* sets a name for this Terminal window only; the ceremony 116 tool and the commands below use it. *Changes:* nothing on disk. 117 **Check on the MacBook:** `/opt/homebrew` is Homebrew's home on Apple 118 chips; on an older Intel Mac it is `/usr/local/opt/openssl@3/bin/openssl` 119 (Homebrew documentation, "Installation", default prefix). The same path is 120 used in `docs/TRUST-1-OPERATOR-STEPS.md` Step 8. You must type this line 121 again in every new Terminal window. 122 123 3. **Check the version.** Type: 124 125 ``` 126 "$AIENOS_OPENSSL" version 127 ``` 128 129 *Changes:* nothing. *Success:* a line starting `OpenSSL 3.` If it says 130 `LibreSSL` or "No such file", step 1 or 2 did not work: stop. 131 132 4. **Copy the ceremony tool to the MacBook.** An agent puts 133 `trust1_key_ceremony.sh` on the TRANSFER stick, together with its SHA-256 134 fingerprint printed on paper. Copy it to your home folder: 135 136 ``` 137 cp /Volumes/TRANSFER/trust1_key_ceremony.sh ~/ 138 "$AIENOS_OPENSSL" dgst -sha256 ~/trust1_key_ceremony.sh 139 ``` 140 141 *Changes:* copies one file. *Success:* the long number printed matches the 142 one on paper, character for character. If it does not match, stop. 143 **Check on the MacBook:** the stick appears under `/Volumes/` with the 144 name you gave it; use that name instead of `TRANSFER` if different. 145 146 5. **Plug in each backup stick once** to make sure the MacBook sees it, then 147 eject it. Use Disk Utility to format any stick that is not empty (format: 148 "APFS" or "Mac OS Extended"; **check on the MacBook** which one Disk 149 Utility offers). 150 151 ## 3. The ceremony (owner present, Wi-Fi off) 152 153 Type every command in the same Terminal window. Run step 2 of part 2 again 154 first if the window is new. 155 156 1. **Turn Wi-Fi off** (menu bar Wi-Fi icon, switch off) and unplug any network 157 cable or adapter. Leave it off until part 3 is finished. 158 159 2. **Preflight.** Type: 160 161 ``` 162 bash ~/trust1_key_ceremony.sh preflight 163 ``` 164 165 *What it does:* checks the OpenSSL version and that no network route 166 exists. *Changes:* nothing. *Success:* `openssl: OpenSSL 3...`, 167 `host: Darwin ...` and `network: offline`. If it says a network route 168 exists, Wi-Fi is still on: fix that and run it again. 169 **Check on the MacBook:** on macOS the tool decides "offline" with 170 `route -n get default` (`network_route` in the tool); nobody has run it on 171 the MacBook yet. 172 173 3. **Generate the keys.** Type: 174 175 ``` 176 bash ~/trust1_key_ceremony.sh generate ~/aienos-ceremony-gen1 177 ``` 178 179 *What it does:* asks for your passphrase twice (nothing shows while you 180 type; that is normal), then creates the Owner Root, Release Signer and 181 Operator Approval keys (Ed25519) and the Boot Signer (RSA-2048 182 certificate), each private key locked with the passphrase from the start 183 (`openssl genpkey ... -aes-256-cbc`), and signs an authority manifest 184 with the Owner Root. The passphrase must be at least 12 characters; use a 185 long sentence. Write it on the passphrase sheet now. 186 *Changes:* creates the folder `~/aienos-ceremony-gen1` only (it refuses if 187 the folder exists). Rows of dots and plus signs while the RSA key is made 188 are normal. *Success:* six `PASS` lines and a final 189 `generated: ...` line. Write the `manifest_sha256=` value on the 190 checklist. 191 192 4. **Make the owner public key file for the Spark.** Type these three lines: 193 194 ``` 195 cd ~/aienos-ceremony-gen1/public 196 PK=$("$AIENOS_OPENSSL" pkey -pubin -in owner_root.pub.pem -outform DER | tail -c 32 | od -An -tx1 | tr -d ' \n') 197 printf 'owner_root_`ed25519` %s\n' "$PK" > owner_pubkeys.txt; cat owner_pubkeys.txt 198 ``` 199 200 *What it does:* takes the bare 32-byte public key out of the standard file 201 (the standard file is a fixed 12-byte header plus those 32 bytes; on 202 2026-10-12 the header read ``302a300506032b6570032100`` and the file was 44 203 bytes), writes it as 64 hex characters in the format the Spark's tools 204 read (`owner_root_`ed25519` <64 hex>`, `ck_slot_tool.c` `load_keys`, 205 `ck_owner_gen.c` header). *Changes:* creates `owner_pubkeys.txt` in the 206 public folder. *Success:* one line, `owner_root_`ed25519` ` followed by 207 exactly 64 characters from 0-9 and a-f. **Check on the MacBook:** `od` on 208 macOS is the BSD version, not the GNU one used for the test; nobody has 209 run this exact line there yet. The result must still be 64 characters. 210 211 5. **Compute the signer id.** Type: 212 213 ``` 214 "$AIENOS_OPENSSL" pkey -pubin -in owner_root.pub.pem -outform DER | tail -c 32 | "$AIENOS_OPENSSL" dgst -sha256 -r | cut -c1-64 | tee signer_id.txt 215 ``` 216 217 *What it does:* the SHA-256 of the bare public key, exactly how 218 `ck_slot_tool` makes `signer_id` (`sha256_hash(pk, 32, m->signer_id)`). 219 On 2026-10-12 the value this printed for the throwaway key matched the 220 `signer_id=` that `ck_slot_tool show` printed for a manifest signed with 221 it. *Changes:* creates `signer_id.txt`. *Success:* 64 hex characters. 222 Write the first 16 and last 16 on the checklist. 223 224 6. **Back up to stick A.** Plug in OWNER KEY A. Type (use the stick's real 225 name after `/Volumes/`): 226 227 ``` 228 bash ~/trust1_key_ceremony.sh backup ~/aienos-ceremony-gen1 "/Volumes/OWNER KEY A" backup-A 229 ``` 230 231 *What it does:* asks for the passphrase, copies the locked private keys and 232 the public files into a folder `aienos-owner-keys-gen1` on the stick, then 233 opens every key **from the stick's copy** to prove the copy works. 234 *Changes:* writes that folder on the stick; adds one line to 235 `public/backups.txt`. *Success:* four `PASS backup-A: ... decrypts from 236 the backup copy` lines and `recorded backup backup-A`. Eject the stick. 237 238 7. **Back up to stick B.** Same command with stick B and the label 239 `backup-B`. Same success lines with `backup-B`. Eject it. 240 241 8. **Write the ceremony record.** Type: 242 243 ``` 244 bash ~/trust1_key_ceremony.sh record ~/aienos-ceremony-gen1 245 ``` 246 247 *Changes:* writes `public/ceremony_record.txt` (public fingerprints, 248 backup count, no private material; the tool refuses if it finds any). 249 *Success:* `wrote .../ceremony_record.txt` and no `NOTE only ... 250 backup(s)` line. 251 252 9. **Signature round trip (the proof that the Spark will accept your 253 signatures).** This needs two trips of the TRANSFER stick; the MacBook 254 stays offline the whole time. 255 256 a. Copy the public folder to the TRANSFER stick: 257 258 ``` 259 cp -R ~/aienos-ceremony-gen1/public /Volumes/TRANSFER/owner-public-gen1 260 ``` 261 262 *Changes:* copies public files only. Eject and hand the stick over. 263 264 b. **On the Spark (an agent types these, you watch):** make a test 265 manifest over a short text file that is not a program, and the bytes 266 to sign, bound to your public key: 267 268 ``` 269 printf 'AIENOS OWNER KEY CEREMONY TEST. NOT AN IMAGE. NEVER BOOTS.\n' > ceremony-test.txt 270 ck_slot_tool make-manifest --image ceremony-test.txt --generation 1 --provenance ceremony-test --out test.manifest 271 ck_slot_tool tbs test.manifest --pubkey "$(cut -d' ' -f2 owner-public-gen1/owner_pubkeys.txt)" --out test.tbs 272 ``` 273 274 (`ck_slot_tool` is built with `make -C native/kernel slot-tool`; it 275 lands in `target/native-kernel/host/`.) *Changes:* three files in a 276 scratch folder on the Spark. *Success:* `tbs: 448 bytes written`. The 277 manifest can only ever vouch for that text file (it records the text 278 file's SHA-512), so a signed copy cannot start anything. Copy 279 `test.tbs` to the TRANSFER stick. 280 281 c. **On the MacBook:** sign it. 282 283 ``` 284 "$AIENOS_OPENSSL" pkeyutl -sign -rawin -inkey ~/aienos-ceremony-gen1/private/owner_root.key.pem -in /Volumes/TRANSFER/test.tbs -out /Volumes/TRANSFER/test.sig 285 ``` 286 287 *What it does:* asks `Enter pass phrase for ...owner_root.key.pem:`, 288 unlocks the key in memory only, and writes a 64-byte signature. This 289 is the same command every future release signature uses 290 (`docs/NATIVE_IMAGE_SLOTS.md` section 6, `docs/NATIVE_PACKAGE.md`). 291 *Changes:* writes `test.sig` on the stick. *Success:* no output after 292 the passphrase. 293 294 d. **Quick check on the MacBook, public key only:** 295 296 ``` 297 "$AIENOS_OPENSSL" pkeyutl -verify -rawin -pubin -inkey ~/aienos-ceremony-gen1/public/owner_root.pub.pem -in /Volumes/TRANSFER/test.tbs -sigfile /Volumes/TRANSFER/test.sig 298 ``` 299 300 *Success:* `Signature Verified Successfully`. 301 302 e. **On the Spark, the real check (public key only):** 303 304 ``` 305 ck_slot_tool attach-sig test.manifest --sig test.sig --pubkey "$(cut -d' ' -f2 owner-public-gen1/owner_pubkeys.txt)" --out test.signed 306 ck_slot_tool verify test.signed --image ceremony-test.txt --keys owner-public-gen1/owner_pubkeys.txt 307 ck_slot_tool show test.signed 308 ``` 309 310 *Success:* `signature attached and verified`, then `verify: OK 311 generation=1`, and the `signer_id=` line equals the value on the 312 checklist from step 5. A negative check the agent also runs: the same 313 `verify` with a keys file holding some other key must print 314 `refused: signer_id names no trusted key` (seen on 2026-10-12). 315 316 10. **Turn Wi-Fi back on** only after step 9c is done. Keep 317 `~/aienos-ceremony-gen1/private` on the MacBook (it is locked with the 318 passphrase), or delete it if you prefer to sign from a backup stick each 319 time; either works because every backup is a complete copy. 320 321 ## 4. Backup and recovery 322 323 **What a backup is.** Each of the two sticks holds the locked private keys 324 and the public files (`backup` in the tool). The keys on the sticks are 325 encrypted with your passphrase (AES-256, `openssl genpkey -aes-256-cbc`), so 326 a stick alone is not enough to sign: someone needs the stick **and** the 327 paper. That is why they are stored apart. 328 329 **Where to keep them.** 330 331 - Stick A: at home, somewhere fire-safe if possible. 332 - Stick B: in a different building (bank box, trusted relative). 333 - Passphrase paper: in a third place, never in the same bag or drawer as a 334 stick. 335 336 **Check a backup without exposing the key** (once a year, and before any 337 rotation). Offline MacBook, the stick plugged in: 338 339 ``` 340 "$AIENOS_OPENSSL" pkey -in "/Volumes/OWNER KEY A/aienos-owner-keys-gen1/owner_root.key.pem" -pubout -outform DER | tail -c 32 | "$AIENOS_OPENSSL" dgst -sha256 -r | cut -c1-64 341 ``` 342 343 *What it does:* asks for the passphrase, unlocks the key in memory, and 344 prints only the signer id **derived from it**. Nothing secret is printed or 345 written. *Success:* the number equals the signer id on your checklist. A 346 wrong passphrase prints `Could not read key from ...` (seen on 347 2026-10-12): then either the passphrase or the stick is wrong. If the stick 348 fails, make a new backup from the other stick (restore below, then `backup` 349 to a fresh stick). 350 351 **Restore onto a machine** (new MacBook, wiped MacBook). Offline, the stick 352 plugged in: 353 354 ``` 355 mkdir -p ~/aienos-ceremony-gen1/private ~/aienos-ceremony-gen1/public 356 cp "/Volumes/OWNER KEY A/aienos-owner-keys-gen1/"*.key.pem ~/aienos-ceremony-gen1/private/ 357 cp "/Volumes/OWNER KEY A/aienos-owner-keys-gen1/"*.pub.pem "/Volumes/OWNER KEY A/aienos-owner-keys-gen1/"authority_manifest* "/Volumes/OWNER KEY A/aienos-owner-keys-gen1/"boot_signer.crt.* ~/aienos-ceremony-gen1/public/ 358 bash ~/trust1_key_ceremony.sh verify ~/aienos-ceremony-gen1/public 359 ``` 360 361 *Changes:* creates the folder on this machine. *Success:* six `PASS` lines for 362 the manifest signature, the four public keys and the generation. Then run 363 the backup check above against the restored file to confirm the signer id. 364 365 **If the key is lost** (both sticks gone, or the passphrase forgotten: these 366 are the same thing). 367 368 - *While a copy still works,* replace the key in an orderly way: make a new 369 owner key in a new ceremony, then ship one package signed with the **old** 370 key whose trusted-key set lists **both** keys, then later a package signed 371 with the new key that lists only the new one. This is the same 372 "add, verify, exercise recovery, then revoke; never delete first" rule the 373 tool records for the other keys (`authority_manifest.txt`, 374 `rotation_rule=`). The slot tool already accepts up to 8 trusted keys in 375 one keys file (`ck_slot_tool.c`, `MAX_KEYS 8u`). **Not built yet:** how the 376 loader carries and updates its trusted-key set is part of the slot loader 377 (`docs/NATIVE_IMAGE_SLOTS.md` section 6, cut 2, in progress), and today's 378 hardware-staging image takes exactly one owner key at build time 379 (`ck_owner_gen.c`: "every name must appear exactly once"). This paragraph 380 becomes concrete steps when that lands. 381 - *If no working copy is left,* nothing can sign a package the machine will 382 accept. The only way back is the recovery path: the known-good recovery 383 image on recovery media (`docs/NATIVE_IMAGE_SLOTS.md` section 6, cut 4, 384 not built yet) or the existing Ubuntu recovery stick 385 (`docs/RECOVERY_MEDIA_MACHINE1.md`), followed by a new ceremony and a fresh 386 install with the new public key. This is slow and attended, which is why 387 there are two backups. 388 - *If the key may have been copied by someone else* (stolen stick together 389 with the paper, or the MacBook compromised): do the orderly replacement 390 above at once, and treat any signature made after the suspected date as 391 untrusted. (Recommendation, not yet written into a tool.) 392 393 ## 5. What leaves the MacBook 394 395 Only these, and only on the TRANSFER stick: 396 397 | File | What it is | Secret? | 398 |---|---|---| 399 | `owner_root.pub.pem` and the other `*.pub.pem`, `boot_signer.crt.*` | public halves | no | 400 | `owner_pubkeys.txt` | the line `owner_root_`ed25519` <64 hex>` for the Spark's tools | no | 401 | `signer_id.txt` | SHA-256 of the bare public key | no | 402 | `authority_manifest*`, `ceremony_record.txt`, `backups.txt` | the signed authority manifest and the record | no | 403 | later: `*.sig` | one 64-byte signature per release manifest | no | 404 405 Never: anything from `private/`, any `*.key.pem`, the passphrase, or a photo 406 of the passphrase sheet. The tool's `verify` refuses a public folder that 407 contains the words `PRIVATE KEY`; the agent runs it on the Spark side as 408 well before anything is committed. The public folder is committed under 409 `evidence/` (`docs/TRUST-1-ATTENDED-SEQUENCE.md`, Action 5) and checked with 410 `scripts/trust1_attended_evidence_check.sh gate3 PUBLIC_DIR 411 --expect-manifest-sha ` 412 (`docs/TRUST-1-ATTENDED-PACKAGE.md`, Sitting E). 413 414 ## 6. Checklist (print, fill in by hand, sign) 415 416 ``` 417 AIENOS owner key ceremony, generation 1 418 419 Date: ____________ Start time: ______ End time: ______ 420 Machine: MacBook ____________________ (model) 421 OpenSSL version printed in part 2 step 3: ______________________ 422 423 [ ] Wi-Fi off and cables out before preflight 424 [ ] preflight printed "network: offline" 425 [ ] generate printed six PASS lines and "generated:" 426 manifest_sha256 = ________________________________________________ 427 ________________ (all 64 characters) 428 [ ] owner_pubkeys.txt holds one line, 64 hex characters 429 [ ] signer_id first 16: ________________ last 16: ________________ 430 [ ] backup-A: four "decrypts from the backup copy" PASS lines 431 [ ] backup-B: four "decrypts from the backup copy" PASS lines 432 [ ] record written, no "NOTE only" line 433 [ ] MacBook check: "Signature Verified Successfully" 434 [ ] Spark check: "verify: OK generation=1", signer_id matches the line above 435 [ ] Spark check: other key refused ("signer_id names no trusted key") 436 [ ] Only public files left the MacBook (part 5) 437 [ ] Stick A stored at: _______________________ 438 [ ] Stick B stored at: _______________________ 439 [ ] Passphrase sheet stored at: _______________ (not with a stick) 440 441 Signed: ______________________ Date: ____________ 442 ``` 443 444 Keep the signed checklist with the passphrase sheet's location noted on it, 445 not the passphrase itself. A photo of the checklist (no passphrase in view) 446 may be committed next to the public folder as the owner's signed record. 447 448 ## 7. Realization receipts: the owner root may sign them (aienos#387) 449 450 Recorded 2026-10-14 for aienos#387. The owner key that exists is the one made on 2026-10-14 by the YubiKey 451 ceremony (`docs/native/PI5-8-OWNER-CEREMONY.md`, aienos#380), not by the MacBook procedure above: YubiKey serial 452 `39017074`, PIV slot 9c, `owner_root_`ed25519` 453 `578ada3cb0c2d154623ac089191023c8ad4bc5e63b8ccd1a38db2d679b8c9e76``. 454 455 **Entry: this owner root may sign Omega realization receipts** (omega `spec/one-layer-receipts.md`, receipt v1, 456 signer class OWNER). This is the entry `native/kernel/artifact/osc_receipt_anchor.h` and 457 `native/kernel/core/osc_admit.c` wait for: from aienos#387 the kernel's receipt policy, in the release and the 458 qualification build, has this key as its one OWNER receipt anchor. 459 460 - **Basis.** The owner signed the first realization receipt with this key himself (PIN and touch, 2026-10-15 461 00:02:50 UTC; omega#455, `tests/checker2/fixtures/owner-receipt/a01.owner.rcpt`). Omega's spec makes the owner 462 root the only owner anchor honoured in production mode (section 6, step 2). 463 - **What such a signature says.** One checker2 identity accepted one exact program (the OSC IR), one executable is 464 bound to it by hash, for one target and one epoch window. It grants no capability and admits no unit: a unit 465 still needs its own container signature, and a release build has no OWNER unit anchor until TRUST-1, so a release 466 build still launches nothing. 467 - **The exact bytes signed** (65): `"OMEGA-REALIZATION-RECEIPT-SIG-V1\0"` followed by 468 SHA-256(`"OMEGA-REALIZATION-RECEIPT-V1\0"` and receipt bytes 0 to 351). The same key also signs owner 469 statements (they begin `AIENOS-OWNER-STATEMENT-V1`) and slot manifests (signed over their first 448 bytes, 470 which begin `AIENSLT1`). The three messages differ in length and in their first bytes, and Ed25519 signs the exact bytes, so a signature made 471 for one can never pass as another. 472 - **Signing.** `yubico-piv-tool -a verify-pin --sign -s 9c -A ED25519` over the 65-byte message, the same call as 473 `scripts/pi5-8/owner_ceremony.sh`. The tool asks for the PIN itself; nothing stores it. 474 - **Withdrawing.** Revocation in the kernel is compile-time (`rcpt_revoked_ids`, `rcpt_revoked_keys` in 475 `core/osc_admit.c`): withdrawing one receipt, or this permission, means building a new image with the receipt id 476 or the key fingerprint revoked, or with the anchor removed. There is no live revocation feed yet 477 (`docs/osc-receipts.md`, UNVERIFIED). 478 - **Checks.** `native/kernel/tests/test_osc_receipt.c` (`owner_receipt`): the committed owner receipt is VALID under 479 the release policy; every single-bit flip, another unit, another target, the epoch window edges, an unlisted 480 checker, a revoked receipt id and a revoked owner key are refused; TEST receipts stay refused. QEMU gate 481 `scripts/qemu_ck_osc_receipt_test.sh`: the owner receipt runs a01 in release mode (qualification image).