Skip to content

Improve wallet passphrase strength guidance #86

Description

@0xpantera

Context

Deckard's keystore uses Argon2id with strong production parameters, but offline vault security still depends heavily on the user's passphrase. The current create/import flow enforces a minimum length of 8 characters, which is a floor, not meaningful strength guidance.

Goal

Improve the wallet create/import UX so users get clear passphrase quality feedback before sealing a real vault.

Acceptance criteria

  • Keep the existing minimum-length rejection, but add stronger user-facing guidance or a strength check for new/imported wallet passphrases.
  • Prefer plain language over crypto jargon.
  • Do not log, persist, or send passphrases outside the existing unlock/seal flow.
  • Do not add network-backed strength checks.
  • Tests cover the validation/helper logic if a helper is introduced.
  • cargo fmt --all --check, just check, and cargo test --workspace pass.

Notes

Argon2id slows offline guessing, but it does not make weak passphrases safe.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions