Skip to content

fix: enforce the password policy when setting a vault password on the unlock page - #4335

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/vault-unlock-password-policy
Nov 9, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/vault-unlock-password-policy

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

When an encrypted folder still needs a password, the unlock page now only lets you set one that meets the password policy, like creating an encrypted folder already does. Unlocking an existing vault isn't affected.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: the set password step stays disabled until the policy is met, the unlock step isn't restricted
  • test case 2: browser: set password with a too short password (button disabled, Enter does nothing) and a valid one on desktop and Pixel 7, unlocking existing vaults with strong and weak passwords, creating an encrypted folder, unlocking via a public link

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit 958eb7e into main Nov 9, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/vault-unlock-password-policy branch November 9, 2026 08:36
@openclouders openclouders mentioned this pull request Nov 9, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vault unlock page accepts passwords that don't meet the password policy

2 participants