Skip to content

AriCodeOS 0.17.0

Choose a tag to compare

@Lynx-Boss Lynx-Boss released this 02 Nov 20:40
· 318 commits to main since this release

AriCodeOS 0.17.0 (2026-11-02) is the version of "compare, then reuse or improve" (ADR 0063). The owner gave "from scratch" its meaning: study the established implementations and their failures, measure ours against them on compatibility and on how fast the system runs, and keep the winner. Each subsystem was compared on its own branch, with its measurements in an ADR and an independent audit. The release covers nine ADRs (0063 to 0071) and six incidents (0052 to 0057). The whole system passed its full test suite (211 scenarios, with 1 and with 4 CPUs) and ran on the reference laptop.

Website: https://www.aricodeos.org/ · Master document: AriCodeOS.md, section 94.17.

What is new

  • Downloads larger than the updater's memory stream into UPDATE and are verified there (ADR 0064). The 6 MiB limit is gone.

  • SIMD in user programs: the FPU and SSE state is saved on every switch (ADR 0065).

  • Cryptography (ADR 0066):

    • RustCrypto and the dalek crates replace this system's SHA-2, AES-GCM, ChaCha20-Poly1305, Ed25519 and X25519 everywhere, the kernel and AriBoot included.
    • Ours stay where they measured faster or are protocols: ECDSA and RSA verification, HMAC and HKDF, the kernel's generator and the OpenSSH cipher.
  • TLS and X.509: rustls and rustls-webpki, with this system's provider and policy (ADR 0067).

    • TLS 1.2's safe subset is on, and extended master secret is required.
    • The trust anchors are Mozilla's 117 TLS roots.
  • SSH:

    • The server stays this system's: sunset could not end a command properly.
    • It gains mlkem768x25519-sha256 and key re-exchange, and its send path costs 37 % less per byte (ADR 0068).
    • The echo of a key went from 31 to 10 ms in QEMU (ADR 0069).
  • TCP stays this system's: smoltcp's initial sequence numbers proved predictable from two observed ones. Its transmission was rebuilt (ADR 0070):

    • RFC 6298 timeouts, NewReno and SACK;
    • out-of-order data kept, window probes and delayed ACKs;
    • RFC 5961's checks against blind resets.

    The old one stalled at about 3 KB/s on any loss and believed blind resets (incident 0056). On the reference laptop, SSH output went from 0.12 to 1.15 MB/s on the same LAN (incident 0057).

  • WebAssembly: wasmi replaces this system's interpreter and runs 15 to 35 times faster inside AriCodeOS (ADR 0071).

    • Profile v2 accepts the stable features except SIMD, extended constants and multiple memories, within strict limits.
    • A finding of the audit was reported privately to the wasmi project.
  • Other fixes:

    • upgrade says why it fails after a new release replaced the source (incident 0052).
    • xtask refuses unknown options (incident 0053).
    • Console prints over 4 KiB are no longer dropped (incident 0054).
    • The ML-KEM frames fit sshd's stack budget (incident 0055).
  • Third-party notices: THIRD-PARTY-NOTICES.txt lists the 81 crates.io crates the images include, with their licences. It is attached here and is on the USB stick.

Trying it

  • From 0.16.1: run update, upgrade, reboot.
  • From 0.16.0: 0.16.0's updater cannot download this 6.8 MB image, so update through 0.16.1 first; its release notes explain the steps.
  • USB stick (aricodeos-0.17.0-usb.img.xz, attached; decompress it with xz -d first):
    • Write it to a stick you can wipe, then boot a UEFI x86-64 machine with Secure Boot off; see docs/hardware.md.
    • Check it against SHA256SUMS.
  • Docker: docker run --rm -it ghcr.io/aricodelabs/aricodeos:0.17.0 boots it in QEMU (quit with Ctrl-A X).

Signed with the project's release key, fingerprint 1d3e24f3c7c753a5bcb384041ace6481736decd86345eab71e2a6ff410ad446e (keys/release/).

Known open items

These still need decisions from the owner:

  • applications above 32 KiB (AriFS file size);
  • agents outside the trusted base (ADR 0041).

Each incident lists its accepted residuals under "What remains".