Repository navigation
Conversation
The install warns that the SEP driver creates an identity keybag and writes to the enclave's anti-replay store, and says "press Ctrl-C now". It then goes straight on. Run as documented, from curl into bash, the warning scrolls past and there is no moment to stop. sep_write_notice now asks for "yes" on /dev/tty, since stdin is the script when piped. With no terminal, the install stops before anything is installed, unless --yes is given (bash -s -- --yes). The agent prompt says to pass --yes only once the owner has agreed in writing. A Mac whose owner blocks apple_sep is still asked nothing. This changes how non-interactive installs behave: a script or agent that ran the installer with no terminal and no --yes now stops with nothing installed, and has to add --yes. --yes may come anywhere on the command line. With --reset-touchid or --m3max-kit it is that command's own --yes, before or after the command name; the kit's own --yes also counts as the yes to the SEP writes. With any other command it is refused. The handling of the file an earlier --read-only install wrote is not changed (aurora-silicon#2591). Tests in test_sep_writes_always_on.py: a run with no terminal and no --yes stops with nothing done; --yes with --uninstall is refused in either order; --yes before and after --reset-touchid or --m3max-kit ends the same way and reaches that command; the write notice test passes --yes. Not run here: the tests need bash 4.4 or newer and this Mac has bash 3.2. sep-source.yml runs this file in CI. The answer typed on a real terminal was not tested: the sandbox refuses a pseudo-terminal. Signed-off-by: Alyx-ML <256263590+Alyx-ML@users.noreply.github.com>
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.
Part of the #2755 split, as its own change because it changes non-interactive installs. Draft until it has a run on a Mac (the last Evidence line says which).
Summary
Behaviour change: a script or agent that runs the installer without a terminal now has to
pass
--yes.Evidence
--yes --reset-touchiddied ("--yes goes with an install") while--reset-touchid --yesworked.test_yes_works_before_or_after_the_commandchecks that both orders end the same wayfor
--reset-touchidand--m3max-kit.test_sep_writes_always_on.pyin SEP source checks:passed, SEP source checks.
else), and one without a terminal, with and without
--yes.Merge Danger
Door: two-way
Blast Radius: installer users
Assisted-by: LLM (Claude:Opus 5.5)