Skip to content

feat(settings): add password meter#1299

Open
FromSi wants to merge 3 commits into
floatpane:masterfrom
FromSi:feature/password-strength-meter
Open

feat(settings): add password meter#1299
FromSi wants to merge 3 commits into
floatpane:masterfrom
FromSi:feature/password-strength-meter

Conversation

@FromSi
Copy link
Copy Markdown
Member

@FromSi FromSi commented May 17, 2026

What?

Adds real-time password feedback to the encryption settings screen.

  • Shows whether the password and confirmation fields match while typing.
  • Shows an informational password strength level: weak, medium, or strong.
  • Adds internal/passwordstrength with a Meter interface and a LibMeter implementation backed by github.com/wagslane/go-password-validator.

Why?

Closes #628

Users previously only learned that password confirmation failed after submitting the form. Inline feedback makes the encryption setup flow clearer and helps users catch mistakes before attempting to enable encryption.

The strength meter is informational only: weak passwords are not rejected.

Demo password used in the attached GIF: CorrectHorseBatteryStaple1!

detailed_dates

@FromSi FromSi requested a review from a team as a code owner May 17, 2026 17:58
@floatpanebot floatpanebot added enhancement New feature or request dependencies Dependency updates area/tui Terminal UI / view layer area/i18n Localization / translations size/M Diff: 51–200 lines and removed enhancement New feature or request labels May 17, 2026
Copy link
Copy Markdown
Member

@andrinoff andrinoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/i18n Localization / translations area/tui Terminal UI / view layer dependencies Dependency updates size/M Diff: 51–200 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FEAT: Add real-time password match indicator in settings

4 participants