Skip to content

fix: keep unlocked vaults in sync when moving their parent folder - #4383

Merged
JammingBen merged 1 commit into
mainfrom
fix/vault-engine-on-move
Nov 10, 2026
Merged

JammingBen merged 1 commit into
mainfrom
fix/vault-engine-on-move

Conversation

@JammingBen

Copy link
Copy Markdown
Member

Description

Moving a folder that contains an unlocked vault (Move to, cut and paste, drag and drop) left the vault's key registered under the old path. A new vault created at that old path then opened without asking for a password and used the old vault's key.

After a successful move, the unlocked vaults inside the moved folder are now moved to the new path, the same way renames already handle it. If the move replaces an existing folder, the keys of vaults inside the replaced folder are dropped. Copies and moves between spaces are unaffected.

Related Issue

@JammingBen JammingBen self-assigned this Nov 9, 2026
@JammingBen
JammingBen marked this pull request as ready for review November 9, 2026 13:52
@JammingBen
JammingBen merged commit 7364c43 into main Nov 10, 2026
29 checks passed
@JammingBen
JammingBen deleted the fix/vault-engine-on-move branch November 10, 2026 07:19
@openclouders openclouders mentioned this pull request Nov 10, 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.

Moving a folder with an unlocked vault keeps the vault's key under the old path

2 participants