Skip to content

feat: change general passphrase while the vault is unlocked - #59

Merged
Vanthys merged 1 commit into
mainfrom
feat/change-passphrase-when-unlocked
Oct 12, 2026
Merged

Vanthys merged 1 commit into
mainfrom
feat/change-passphrase-when-unlocked

Conversation

@Vanthys

@Vanthys Vanthys commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Closes #58

  • When the General vault is unlocked, the change passphrase screen offers 'Forgot it? Use my unlocked vault'. It re-encrypts with the key already in memory, so the current passphrase isn't needed.
  • Re-encrypting throws before writing anything if the key can't decrypt the vault data.
  • Not offered for the Secret vault, which doesn't store its key.
  • The in-memory key is now refreshed after a General passphrase change, so an open vault doesn't show garbled titles until it's relocked.

Used on a real vault after forgetting the passphrase, unlocked with biometrics.

Re-encrypt with the key already in memory instead of the old passphrase.
Also refresh the in-memory key after a general passphrase change.
@Vanthys
Vanthys merged commit 05ce73e into main Oct 12, 2026
1 check passed
@Vanthys
Vanthys deleted the feat/change-passphrase-when-unlocked branch October 12, 2026 17:12
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.

Allow changing the General passphrase while the vault is unlocked (forgot passphrase)

1 participant