Skip to content

general: add auto_submit_after option#1018

Open
erasylurazalin wants to merge 1 commit into
hyprwm:mainfrom
erasylurazalin:main
Open

general: add auto_submit_after option#1018
erasylurazalin wants to merge 1 commit into
hyprwm:mainfrom
erasylurazalin:main

Conversation

@erasylurazalin
Copy link
Copy Markdown

Adds general:auto_submit_after (default 0, disabled) which automatically submits the password buffer once the display length reaches the configured value, similar to a phone PIN screen.

Submission is render-aware: the final dot is visible before PAM begins checking. A pending submit is cancelled by backspace, clear shortcuts, Enter, or clearPasswordBuffer().

Enabling this with a normal system password leaks its exact length to observers. Warning is in the config registration.

Fixes #1012

Adds general:auto_submit_after (default 0, disabled) which automatically submits the password buffer once the display length reaches the configured value, similar to a phone PIN screen.

Submission is render-aware: the final dot is visible before PAM begins checking. A pending submit is cancelled by backspace, clear shortcuts, Enter, or clearPasswordBuffer().

Enabling this with a normal system password leaks its exact length to observers. Warning is noted in the config registration.

Fixes hyprwm#1012
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.

PIN auto-submit after N digits typed

1 participant