Repository navigation
Todo
Description
Related user story
Task
Windows zero-touch runs Fleet's setup on the Windows sign-in screen, where nobody is signed in. That takes native Windows code, which Fleet doesn't have today. This sub-issue ships that code as its own signed release for fleetd to install. Nothing uses it until the fleetd and packaging sub-issues ship.
What changes:
- A credential provider puts Fleet's tile on the sign-in screen and hides every other way to sign in while setup runs. In Safe Mode, the normal Windows options stay.
- A locked-down web view shows Fleet's setup pages and the IdP sign-in. It runs as a hidden account with no admin rights, and opens only Fleet and the IdP.
- When setup is done, the tile asks the end user to choose a password, creates their local standard account from their IdP account, and signs them in.
- CI builds and signs the components for x64 and ARM64. They're released through Fleet's update system (TUF) as
windows-sign-in. - A test on a VM settles how Ctrl+Shift+X is detected on the sign-in screen, including at the password step. The fleetd sub-issue needs the result, so do this first.
Out of scope: installing, starting, and removing the components (fleetd sub-issue), and bundling them in an installer (packaging sub-issue).
Open questions
- Detecting Ctrl+Shift+X. The plan is for fleetd to register the key combination on the sign-in screen, so one implementation covers every step. That's untested. If it doesn't work, the web view and the password step each handle the key. Engineering confirms with the VM test.
Implementation notes: the windows-zero-touch OpenSpec change (#60856). Reference implementation: draft PR #60106.
Condition of satisfaction
- CI produces one signed archive each for x64 and ARM64, and both are published as the
windows-sign-inTUF target. - The signed CI build runs on a Windows 11 VM. So far, only a development build has.
- While setup runs, Fleet's tile is the only sign-in option. In Safe Mode, the normal options show.
- The web view doesn't open other sites, new windows, downloads, file pickers, or dialogs. Ctrl+P, F1, and Alt+F4 do nothing, and typing with an AltGr keyboard layout works.
- If the passwords don't match, or Windows refuses the password, the end user sees why and can try again.
- After choosing a password, the end user reaches the desktop without signing in again or seeing the lock screen.
- After Ctrl+Shift+X, the tile can tell the person to restart the device.
- The result of the Ctrl+Shift+X test is written down in the OpenSpec design.
- Someone who didn't write the code has reviewed it, with a focus on what runs inside the Windows sign-in process. A crash there can lock people out.
Metadata
Metadata
Assignees
Labels
~sub-taskA technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Type
Projects
- StatusShow more project fields📨 Inbox
Activity