Skip to content

soc: apple: sep: turn the xART guard off by default on M1 - #1049

Merged
DjDeveloperr merged 1 commit into
integration/aurorafrom
fix/sep-m1-no-xart-guard
Nov 6, 2026
Merged

DjDeveloperr merged 1 commit into
integration/aurorafrom
fix/sep-m1-no-xart-guard

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

On M1 Macs (T8103, T6000/T6001), Touch ID only worked after setting options apple_sep xart_guard=0 by hand. These Macs cold-boot the SEP, and creating Linux's identity keybag there rewrites a session record from before Linux (seen on J316s). At the platform default of level 1 the guard refuses that write, so every M1 user hit the opt-in during setup and again when matching.

This sets the M1 profiles' default to 0, as on the MacBook Neo. Nothing else changes:

  • M2 and M3 stay at level 1.
  • xart_guard=1 or 2 still turns the guard on anywhere.
  • The guard code is untouched.

The parameter text, the module docs, the platform-default test and tools/aurora-sep/XART-SAFETY.md follow the new defaults.

This is the owner's call: the opt-in was friction with no benefit on M1, because the guard could only block Touch ID setup there.

Testing

  • tools/aurora-sep/tests/test_sep_ready.py: 23 tests pass on Linux (Aurora Fedora 45, M2 Pro). On macOS, test_gives_up_waiting times out because of the host, before and after this change.
  • Full asahi-profile build of Image and modules: results to follow in a comment.
  • Not run on an M1 Mac.

The distro doc updates follow as separate PRs, and each distro's source tracker picks up the kernel once this merges.

🤖 Generated with Claude Code

M1 Macs cold-boot the SEP, and creating Linux's identity keybag there
rewrites a session record that predates Linux (seen on J316s). With the
guard at the platform default of 1, Touch ID setup and matching on every
M1 Mac needed an explicit apple_sep xart_guard=0.

Default the T8103 and T6000/T6001 profiles to 0, as on the MacBook Neo.
M2 and M3 keep level 1, and xart_guard=1 still turns the guard on.

Signed-off-by: Diljit Singh <[email protected]>
@DjDeveloperr

Copy link
Copy Markdown
Contributor Author

Build: full asahi-profile Image modules build of def843b in the build VM passed. drivers/soc/apple/apple-sep.ko compiled with no errors or warnings. The Rust unit tests in xart_guard.rs weren't run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant