• 1.0.13-beta.1 abefcf7c97

    Release 1.0.13-beta.1
    All checks were successful
    Test / test (push) Successful in 33s
    Lint / lint (push) Successful in 34s
    Sync Release to GitHub / sync-to-github (release) Successful in 2m43s
    Pre-release

    aluminum-ice released this 2026-11-01 23:43:29 +00:00 | 92 commits to main since this release

    Kestrel 1.0.13-beta.1

    A security-hardening release. Kestrel runs privileged helpers, signs you in to a dashboard, reaches out to the internet for updates and the census, and is built into a card image. Before adding more features, this release goes back over each of those edges and makes them stricter, with tests that pin each rule down. There's little that's new to look at; most of it is about how the device behaves when something (or someone) doesn't play by the rules.

    This is a beta: it's for testing, and it's offered only to devices with the updates plugin's beta option on. Its on-device checklist is #150.

    From 1.0.12, this is an in-place update. Apply it from the dashboard (Upgrade) or with sudo kestrel update apply. No reflash: the build changes in this release only affect how you build your own image, not what's on the card. Your settings, plugins and captures are kept, and if the new version doesn't come up cleanly, the device rolls itself back.

    Privileged helpers: a narrower boundary

    Kestrel's dashboard and plugins run as the ordinary pi user, and a few small helpers run as root to do what pi can't (start capture, apply an update, check a password). This release tightens what those helpers will accept from pi:

    • Files root leaves for pi's processes are made by pi. The small trigger files that ask the learning agent or remote training to start now are created as pi, and never through a link. A model added with sudo kestrel agent import is written into place as pi too.
    • Settings root acts on are terminal-only. The updates plugin's beta, timeout and backup_timeout_seconds, and remote-train's agent_dir, can now be changed only with sudo kestrel plugins set .... The Plugins page shows them read-only. The update engine also keeps its timeouts within sensible bounds whatever the file says.
    • Password checks are paced on the device itself. The root helper that checks the device password spaces out its answers after repeated failures, for every caller at once. It accepts only a normal user account, such as pi, never a system account.

    The dashboard: sign-in and limits

    • Every sign-in attempt counts. The sign-in page, scripts sending a username and password, and access tokens all share one per-address backoff: after a few wrong attempts in a row, the dashboard asks you to wait before it checks again. A login it verified in the last few minutes still gets straight in. Failed attempts are logged with the address they came from.
    • "Couldn't check" is not "wrong password". If the device is busy checking other sign-ins, the page now says Couldn't check your password right now. Try again in a moment. That doesn't count against you.
    • Size and connection limits. Requests over 64 KB are turned away before they're read (the potfile import keeps its own, larger limit, checked after sign-in). Each listener serves at most 64 connections, 16 from any one address (the device itself is exempt from that), and a request has 20 seconds to arrive. If the dashboard ever runs short of resources it pauses briefly instead of spinning.
    • Text that renders, always. The renderer behind the on-device guide and the What's new notes now treats a line starting with # that isn't a heading (such as #142 fixed) as ordinary text, and always finishes.

    Updates

    • The update token stays with your release server. If you update from a private repository with a token, the device now follows a redirect only to an https:// address, at most five times, and doesn't send the token once a redirect leaves your release server. The release clone itself follows no redirect when a token is set. (The clone runs from the installed version, so that part takes effect from the next update after this one.)
    • Clearer wording when an update was cut short. An update interrupted part-way, for example by a power loss, and rolled back at boot is now described as interrupted, not as one that failed to start.

    Census

    • A clearer Status card. It now shows whether the phone's tether is up and the census can be read and written right now, and the date and time this device last pushed its report and last read the census (both kept across restarts).
    • Bounded reads. A device keeps at most what one census slot can hold from each slot it reads, preferring entries the storing nodes agree on, and at most a full census (12,544 reports) a day. If a day ever fills up, the Census page says so. A reply from the DHT that can't be read is now set aside, and the rest of the read carries on.

    Plugin pages

    • A way back from every plugin page. Every page a plugin shows (Census, wpa-sec's passphrases, the e-ink mirror and the rest) now opens with the same ← Plugins · Dashboard links, added by the dashboard itself, so a plugin can't leave them out.

    Building your own image

    • MY_PI_PASSWORD_HASH now reaches the image. Pass your hash in single quotes, sudo make image MY_PI_PASSWORD_HASH='$6$...'. The build stops if the value isn't a password hash, never prints it, and its log says only whether a custom hash or the default went in. If you built your own image with a custom hash before this release, set your password once with passwd to be sure it's the one you expect.

    Testing this beta

    • Opting in has moved to the terminal. Because beta is now a terminal-only setting, turn beta updates on or off with sudo kestrel plugins set updates beta=true (or =false). A device that already has it on keeps it.
    • The checklist #150 lists what to check. The beta-check script judges most of it, and the rest is by hand.

    Install: app-layer — apply in place via the updates plugin.


    Built from abefcf7.

    Downloads