Skip to content

Selûne v0.4.0 — Silverfire Closure

Latest

Choose a tag to compare

@CharlesHoskinson CharlesHoskinson released this 03 Dec 16:25
· 2 commits to master since this release

Selûne v0.4.0 — Silverfire Closure

Selûne v0.4.0 closes the Silverfire cryptographic, process-isolation, browser-custody, and formal-verification workstreams across ARM64 (Linux 7.3.0) and x86-64 (Linux 7.2.15), verified through a strict 4-family Bounded Audit with blinded external arbitration (Accepted(deferred_ids)) and permanent zero-finding release-cut Warden gates.

  • Frozen cryptographic & multicore code commit: 34261109124b2b3c344d9e87aed6b2b3841a57bf (tree 5d88622b4d537aec21c1be95bc2619f6cb89bafa)
  • Version-bumped tree commit: aa478c7572500119d9eef66fd0a40ef5bd547266 (tree 2b1e0393b4b6b726e95474c4d6ea0ac561261f66)
  • Tagged release commit: 7a016daa3ccd5521d8dd8d408219ddcc3cdafd2f (v0.4.0)

Highlights

1. ARM64 Locked-Workspace Stack Trampoline, PROT_NONE Guards & Dual-Host BINSEC/Rel 0.11.3

  • Eliminated explicit stack secret arrays across ARM64 signing kernels by switching onto a dedicated 3,456 B mlocked workspace stack trampoline flanked by below-workspace PROT_NONE guard pages, with explicit signal-mask protection (syscall@plt __NR_rt_sigprocmask) and PSTATE.DIT enforcement (SFC-023, SFC-025).
  • Verified check_ct_asm.sh (0 forbidden ops, 0 secret stack stores/allocas) across GCC and Clang on both ARM64 (GCC 16.1.1 / Clang 22) and x86-64 (GCC 16.2.1 / Clang 23.1.3).
  • Ran live dual-host BINSEC/Rel 0.11.3 (receipts/sfc-rel-audit-v040.json): 8/8 linked Jasmin kernels secure (4 ARM64 *_in_dit + 4 x86-64 *_x86), 4/4 SFC-023 helpers proved, 2/2 ARM64 SFC-025 HWCAP_DIT=0 proved, and CFP-020 PASS.
  • Captured 4/4 dual-host dudect constant-time receipts (Admitted on ARM64 and x86-64, both idle and 16-worker saturated, source_digest=sha256:e7286c8b3003bb09816d33bae1edbad297ba72a02b7f5ea5c9705675206d9f94, objdump_gate_passed=true, 0 leaks).

2. Linux clone3(CLONE_PIDFD | CLONE_AUTOREAP, exit_signal=0) Process Isolation

  • Upgraded libs/silverfire_mt/csrc/sfmt_pool.c to atomic raw Linux clone3(CLONE_PIDFD | CLONE_AUTOREAP, exit_signal=0) + immediate execveat(AT_EMPTY_PATH) on the parent-hashed verify-only selune_mcw binary (SFC-014–SFC-016, SFC-031, SFC-038), keeping child exit status immune to host waitpid(-1, 0) reapers and SIGCHLD = SIG_IGN / SA_NOCLDWAIT.
  • Unified monotonic startup deadlines and lossless 64-slot pidfd quarantine ownership, including unidentified startup-descriptor retention and direct exit draining when initial fstat fails (FIXTURE_F5).
  • Verified 12/12 clone3 isolation fixtures on both ARM64 and x86-64 across GCC, Clang, and Clang ASan+UBSan (-Werror), 0 forbidden symbols (nm/objdump), libs/silverfire_mt 31/31 native (11/11 wasm-gc / 11/11 js), and CBMC + Bitwuzla 1,335/1,335 properties PASS with negative controls refuted.
  • Fails closed with typed ENOSYS/EPERM/EINVAL route unavailability on pre-Linux-7.0 kernels lacking CLONE_AUTOREAP (no silent downgrade to unisolated spawn or serial execution).

3. Live 100-Pair x86-64 SFC-013 Full-Wire P-256 Comparator

  • Executed live 100-pair independent-comparator qualification (v0.3.2 63d723664c4a vs master 34261109124b) on x86-64 (receipts/sfc013-huginn-full-wire-p256-v040.json): PASS — median 29.0830 µs (ratio=0.9997, BCa 95% UCB 1.0009 <= 1.02), p95 29.3607 µs (ratio=0.9946, BCa 95% UCB 1.0016 <= 1.02).
  • Hardened standalone --mode evaluate replay to enforce live Git <commit>^{tree} equality for both baseline and candidate, baseline_commit === v0.3.2^{commit}, distinct executable digests, Git blob verification for p256_point_pub.s, exact calibration XOR reachability, and negative controls nc19..nc21 (test_jasmin_repro_gate.sh 50/50 PASS).

4. Browser Linear-Memory WASM Signer & Calibrated Timing

  • Rebuilt and synced the zero-GC linear-memory production artifact (libs/crypto_wasm_signer/dist/crypto_wasm_signer.wasm, 251,621 B, sha256:6bc0794ada3bae8f...) with binary-only instruction exemptions (525 functions, binaryToWat=true, 0 crypto div/rem, 0 user memory.grow, 0 unresolved call-graph edges).
  • Enforced immutable-ref OPFS WAL envelope staging for v1 -> v2 migration and locked enrollment ordering (19/19 Node conformance suites, 6/6 live Playwright Chromium 159.0.8154.6 E2E suites).
  • Captured exact Chromium runtime-locked calibrated browser timing (receipts/wasm-sign051-timing-v040.json, 38/38 sfc_calibrated_timing_test.mjs PASS; DedicatedWorkerGlobalScope target cropped |t|=0.0415, MDE step_16 |t|=19.8224, explicitly classified L0 empirical evidence).

5. SafeGCD30 Checked Inversion, Lean 4.35.0 Proofs & Platform Verification

  • Propagated SafeGCD30 validity masks branchlessly through inv_ct_checked into SecretScalarSecp256k1::ct_sign_s and SecretScalarP256::ct_sign_s (SFC-022 L2 runtime guard) and composed reachable-block bounds in Lean 4 (spec/SafeGcd30Proofs.lean).
  • Verified Lean 4.35.0 (1,329 build jobs, 215/215 ProofAudit / 145/145 EcdsaProofAudit, 0 sorry, standard axioms only), moon prove (19/19 default + 4/4 --machine-int), libs/formal_bridge (16/16 + 20/20 replay), ./bin/selune test (47/47 libraries PASS), 11/11 MARS ledgers (0 diagnostics, 637/637 verified pins) + 7/7 mars audit PASS, verify-site (17 pages, 7 labs, 0 errors), strict Warden release-cut gate (0C/0H/0M/0I, 36/36 CAG gates, 31/31 receipts, 4/4 mirrors), and refreshed Ontology v10, Graphify KG (12,966 nodes, 26,004 edges, 14 MiB), and llm-wiki/ + SIM.md (27 entries, 0 failures).

Honest Scope, OWED Items & Permanent Boundaries

  • Explicitly OWED (not claimed closed in v0.4.0):
    • SFC-018 (SafeGcdConvergence600 full Lean 4 L3 convergence proof; guarded at runtime by L2 SFC-022 inv_ct_checked).
    • JasminSf018 (admitted=false, L0; static BINSEC/Rel fails closed on syscall@plt indirect GOT jump B2', plus B3 and B4).
    • JasminSf002 (SFC-012 cross-host reproducibility remains 8/9 due to an OCaml 5.2.1 vs 5.3.0 variable-UID shift in jasminc for p256_point_pub.s).
    • SFC-007 (latency gate remains OWED).
  • Permanent NonUpgradableEvidence boundaries (preserved untouched): WasmSign048, WasmSign049, JasminSf023, JasminSf024, A1–A5, InstA1–InstA5.
  • Hosted CI note: GitHub Pages deployment (47123926572), sim-mcp-wiki-site, and proofs-and-lean (47123926424) pass on GitHub-hosted ubuntu-26.04; the two native Linux 7.x / GCC 16 jobs (core-tests-and-mars requiring Linux 7.0+ CLONE_AUTOREAP headers/kernel and crypto-four-target-and-wycheproof requiring GCC 16+ / Clang for zero-spill mbcrypto_ct_mont_mul_mod_u256_ws) fail closed on ubuntu-26.04's older kernel headers and GCC 15 and pass in full on the Linux 7.x / GCC 16 dual-host qualification fleet.