Repository navigation
soc: apple: sep: turn the xART guard off by default on M1 - #1049
Merged
Merged
Conversation
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]>
This was referenced Nov 6, 2026
Contributor
Author
|
Build: full |
DjDeveloperr
marked this pull request as ready for review
November 6, 2026 18:52
This was referenced Nov 6, 2026
This was referenced Nov 30, 2026
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.
On M1 Macs (T8103, T6000/T6001), Touch ID only worked after setting
options apple_sep xart_guard=0by 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:
xart_guard=1or2still turns the guard on anywhere.The parameter text, the module docs, the platform-default test and
tools/aurora-sep/XART-SAFETY.mdfollow 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_waitingtimes out because of the host, before and after this change.asahi-profile build ofImageandmodules: results to follow in a comment.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