You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
apple_sep: J413 (M2 Air) CREATE_KEYBAG fails with mailbox status -13 on every boot; /dev/sep-bio never appears #397
Drafted with Claude Code from this machine's logs; reviewed by me before posting.
Turning on Touch ID fails at identity-keybag creation. It failed the same way on 2 of 2 attempts, including after a reboot. There is no EEXIST (unlike #369) and no guard refusal (unlike #209).
Machine: MacBook Air 13" M2, apple,j413 / apple,t8112, profile T8112/J415 Firmware: system 26.2, OS 13.5 Packages: linux-aurora 7.2.11.aurora14-1, m1n1-aurora 1.6.1.aurora22-1, omarchy-mac 0.2.3-2, libfprint-git 1:1.94.100.r10.g6f9479c-5, fprintd 1.94.5-2 Options: default guard (xart_guard level 1), xart_writes=1 provision_keybag=1 as written by touchid-enable; no local patches
Steps: run omarchy setup security fingerprint and agree to turn on Touch ID.
Expected: keybag is created and /dev/sep-bio appears. Actual:Touch ID was not turned on: the Secure Enclave driver loaded but /dev/sep-bio never appeared
Log (second attempt, after reboot):
apple_sep: xART guard level 1: 10 session records exist, 0 created by Linux; the other 10 are protected
apple_sep 25e400000.sep: xART: APFS-resolved .gl extent (base 0x4d4000); 170 slots, 12 live records, max revision 5029, 0 malformed, 0 duplicate, 0 repaired; writes ENABLED
apple_sep 25e400000.sep: attach: 7 endpoints advertised in 18 messages
apple_sep 25e400000.sep: sks: CREATE_KEYBAG reply carried no parsable body: mailbox status -13, response 0 bytes, response_size 0
apple_sep 25e400000.sep: bringup: identity-keybag provisioning failed; no retry this boot
apple_sep 25e400000.sep: hwrng: registered after ready-phase survey (attempt 1)
State: max revision was 5029 at both attempts. /var/lib/aurora-sep-keybag.bin is 52 bytes and was rewritten by the second attempt. I haven't changed it, the guard, or any other enclave state.
Same system firmware (26.2) as the J413 above, with the same CREATE_KEYBAG status -13. The driver reported boot=warm keybag=failed keystore=open touchid=failed sensor=unbound after the failed attempt.
One caveat on comparing with #145: that Mac is on 26.6.2, but it also had Touch ID enrolled before its upgrade and was on an older kernel (7.1.12), so it may not have gone through keybag creation on that build.
I haven't updated macOS, and I'm holding off on further attempts until it's clear whether retrying with the 52-byte /var/lib/aurora-sep-keybag.bin in place is safe.
Another M3 Air with the same failure, this one on system firmware 26.3 rather than 26.2, so it doesn't look specific to 26.2.
Machine: MacBook Air 13" M3 (2024), apple,j613 / apple,t8122, profile T8122/J613 Firmware:asahi,system-fw-version = 26.3, asahi,os-fw-version = 14.7 iBoot:asahi,iboot1-version = iBoot-13822.81.10, asahi,iboot2-version = iBoot-10151.140.19.700.2 Packages: linux-aurora 7.2.11.aurora14-1, m1n1-aurora 1.6.1.aurora22-1, omarchy-mac 0.2.3-2, libfprint-git 1:1.94.100.r10.g6f9479c-5, fprintd 1.94.5-2 Options: default guard (level 1), xart_writes=1 provision_keybag=1 as written by touchid-enable; no local patches
Steps:omarchy-setup-security-fingerprint, agree to turn on Touch ID. Result:Touch ID was not turned on: the Secure Enclave driver loaded but /dev/sep-bio never appeared. Identical on 2 of 2 logged attempts, the second after a restart.
Log (second attempt, after restart):
apple_sep: xART guard level 1: 10 session records exist, 0 created by Linux; the other 10 are protected
apple_sep 29e400000.sep: xART: APFS-resolved .gl extent (base 0x4d4000); 170 slots, 12 live records, max revision 2016, 0 malformed, 0 duplicate, 0 repaired; writes ENABLED
apple_sep 29e400000.sep: trusted-keys: registering "trusted" key type backed by the SEP ref-key seal
apple_sep 29e400000.sep: attach: 7 endpoints advertised in 18 messages
apple_sep 29e400000.sep: xART: using /chosen/apfs-preboot-uuid
apple_sep 29e400000.sep: sks: CREATE_KEYBAG reply carried no parsable body: mailbox status -13, response 0 bytes, response_size 0
apple_sep 29e400000.sep: bringup: identity-keybag provisioning failed; no retry this boot
apple_sep 29e400000.sep: hwrng: registered after ready-phase survey (attempt 1)
The first attempt's log is the same line for line, including 10 session records / 12 live records / max revision 2016.
State:/var/lib/aurora-sep-keybag.bin is 52 bytes; it predates these two attempts and its mtime matches the second failure to the second. Because the file exists, the setup prompt says it "uses the key store for Linux that an earlier Touch ID setup created", though the driver still goes to CREATE_KEYBAG. I haven't changed the file, the guard, or any other enclave state, and am not retrying further.
Activity
shrimbly commentedon Nov 7, 2026
Same failure on an M3 Air (Mac15,12), same kernel and omarchy-mac version: omacom/omarchy#17885
r3sonate commentedon Nov 8, 2026
Firmware details from the M3 Air in omacom/omarchy#17885, in case they help with the firmware question here:
Machine: MacBook Air 13" M3, Mac15,12, profile
T8122/J613Firmware:
asahi,system-fw-version = 26.2,asahi,os-fw-version = 14.7iBoot:
asahi,iboot1-version = iBoot-13822.61.10,asahi,iboot2-version = iBoot-10151.140.19.700.2Packages: linux-aurora 7.2.11.aurora14-1, omarchy-mac 0.2.3-2, libfprint-git 1:1.94.100.r10.g6f9479c-5, fprintd 1.94.5-2
Same system firmware (26.2) as the J413 above, with the same
CREATE_KEYBAGstatus -13. The driver reportedboot=warm keybag=failed keystore=open touchid=failed sensor=unboundafter the failed attempt.One caveat on comparing with #145: that Mac is on 26.6.2, but it also had Touch ID enrolled before its upgrade and was on an older kernel (7.1.12), so it may not have gone through keybag creation on that build.
I haven't updated macOS, and I'm holding off on further attempts until it's clear whether retrying with the 52-byte
/var/lib/aurora-sep-keybag.binin place is safe.Posted by Claude Opus 5.5 via Claude Code.
MrSlothuus commentedon Nov 10, 2026
Another M3 Air with the same failure, this one on system firmware 26.3 rather than 26.2, so it doesn't look specific to 26.2.
Machine: MacBook Air 13" M3 (2024),
apple,j613/apple,t8122, profileT8122/J613Firmware:
asahi,system-fw-version = 26.3,asahi,os-fw-version = 14.7iBoot:
asahi,iboot1-version = iBoot-13822.81.10,asahi,iboot2-version = iBoot-10151.140.19.700.2Packages: linux-aurora 7.2.11.aurora14-1, m1n1-aurora 1.6.1.aurora22-1, omarchy-mac 0.2.3-2, libfprint-git 1:1.94.100.r10.g6f9479c-5, fprintd 1.94.5-2
Options: default guard (level 1),
xart_writes=1 provision_keybag=1as written bytouchid-enable; no local patchesSteps:
omarchy-setup-security-fingerprint, agree to turn on Touch ID.Result:
Touch ID was not turned on: the Secure Enclave driver loaded but /dev/sep-bio never appeared. Identical on 2 of 2 logged attempts, the second after a restart.Log (second attempt, after restart):
The first attempt's log is the same line for line, including
10 session records/12 live records/max revision 2016.Diag:
attach=attached boot=warm keybag=failed keystore=open matching=unverified restore=unknown sensor=unbound sensor_attach=unknown touchid=failed xart=enabled xart_guard=1 xart_guard_list=loaded xart_guard_refusals=0State:
/var/lib/aurora-sep-keybag.binis 52 bytes; it predates these two attempts and its mtime matches the second failure to the second. Because the file exists, the setup prompt says it "uses the key store for Linux that an earlier Touch ID setup created", though the driver still goes toCREATE_KEYBAG. I haven't changed the file, the guard, or any other enclave state, and am not retrying further.Posted by Claude Fable 5.2 via Claude Code.
drm/asahi: sync the G17 driver with aurora-silicon at d3cf19b