Repository navigation
aurora-sep: read the fingerprint firmware-name as a list - #50
Merged
Merged
Conversation
The J616s fingerprint node names two files, the calibration and the MSRk
record ("apple/mesacal-j616s.bin\0apple/msrk-j616s.bin\0"). firmware_name()
only stripped the trailing NUL, so the name still held the embedded NUL and
the second entry, the path check rejected it, and the helper logged
"unsafe fingerprint firmware name" and installed nothing. A fresh J616s
install got no calibration.
Split the property on NUL, check every entry against the same apple/*.bin
pattern, and take the entry whose name starts with "mesa" (the
calibration), or the first entry when none does. Single-name nodes such as
the Neo and M1/M2 resolve as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Same change as aurora-silicon/fedora-aurora#62.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RyanTheTide
added a commit
that referenced
this pull request
Oct 30, 2026
Main changed prepare-sep-calibration to read the fingerprint firmware-name as a string list (#50). This branch removes that helper; aurora-touchid-setup reads the same list the way the driver does, so the J616s, which also names its MSRk record, still gets its calibration. Keep the removal and raise the package version to 1.9, above main's 1.8. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 31, 2026
RyanTheTide
added a commit
that referenced
this pull request
Nov 5, 2026
…heck speakerguardd#48 derives every per-board value from the Mac's device tree and tuning at run time (wiring.py) and drops machines.json; gate.json now holds the qualified boards per protection unit (spp3: J316s, J413, J616s). #45 makes the v2 units read their configuration optionally, so a board or kernel the gate skips is skipped cleanly; #50 lets test_provision.py run in the build sandbox, which has no /usr/bin/env. - Pin a3c66c51e70c (the v2 tip), with nix_hash the tarball's sha256. - Stop installing machines.json; the package check asserts gate.json is the gate's default, wiring.py is installed and no machine table is. - speakerguardd-v2-gated compared the flake's pkgs.speakerguardd-v2 with the system's: two nixpkgs instances, two store paths, so "installed by default" always failed. It now checks the system's own package, and its gate pattern carries no store-path context (hasInfix refuses it). Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> Assisted-by: LLM
RyanTheTide
added a commit
that referenced
this pull request
Nov 28, 2026
…ment, Aura enforce) Advance uboot-aurora pin to aurora-silicon/u-boot aurora-wip 84382f65f6725263f1bdb3c9594607cef610e0a7 (u-boot#69 cold MTP handoff, u-boot#74 blinking text cursor and ANSI line-start fix for GRUB, u-boot#75 direct /reserved-memory parsing, u-boot#78 default Aura enforce policy support, on top of u-boot#47/#50 T8140/T8142 NVMe & ESP). All four distro kernels now include linux#2525 (e06661cc), clearing the prior J613/J413 MTP handoff prerequisite. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The J616s fingerprint node names two files,
"apple/mesacal-j616s.bin\0apple/msrk-j616s.bin\0".firmware_name()inprepare-sep-calibrationonly stripped the trailing NUL, so the path check saw the embedded NUL and the second entry and refused it. The helper logged "unsafe fingerprint firmware name" on every boot and a fresh J616s install got no calibration.The helper now splits the property on NUL, checks every entry against the same
apple/*.binpattern, and takes the entry whose name starts withmesa(the calibration), or the first entry when none does. Nodes with one name (Neo, M1, M2) and nodes without the property resolve as before.Tested
tests/test_sep_preparation.pygains a case with the J616s bytes in both orders, a list without amesaentry, a list with one unsafe entry, an empty value, and the default when the property is missing. 12 tests pass; the new case fails on the old helper.firmware_name()against/sys/firmware/devicetree/basereturnsapple/mesacal-j616s.bin. The installed 1-12 helper raisesValueError: unsafe fingerprint firmware nameon the same tree.Same change as aurora-silicon/fedora-aurora#62. The test lives in fedora-aurora; this copy of the helper is identical.
🤖 Generated with Claude Code