Skip to content

Greeter: avoid early authentication#885

Draft
lenemter wants to merge 1 commit into
mainfrom
lememter/avoid-early-auth
Draft

Greeter: avoid early authentication#885
lenemter wants to merge 1 commit into
mainfrom
lememter/avoid-early-auth

Conversation

@lenemter

@lenemter lenemter commented Jul 6, 2026

Copy link
Copy Markdown
Member

Fixes #413

Current workflow in main is "carousel page switched" -> "authenticate by username" -> "wait for password" -> "respond with password". But when a user has no password set, LightDM.Greeter.authenticate (username) logs the user in without the need to provide the credential via LightDM.Greeter.respond (credential).

This PR changes workflow to "Wait for a card to call authenticate with username and credential" -> "authenticate" -> "respond"

Also I put this logic into a separate class since MainWindow.vala is very long and it's very hard to read code there.

@lenemter lenemter requested a review from a team July 6, 2026 21:06
@lenemter lenemter marked this pull request as draft July 6, 2026 21:22
@lenemter

lenemter commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

Converting to draft to think about how this will affect fingerprint auth

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.

Buggy no-password user logout

1 participant