Skip to content

server: Handle pending migrations in the gnome internal interface - #693

Merged
bilelmoussaoui merged 1 commit into
mainfrom
bilelmoussaoui/unlock-with-master
Nov 19, 2026
Merged

bilelmoussaoui merged 1 commit into
mainfrom
bilelmoussaoui/unlock-with-master

Conversation

@bilelmoussaoui

Copy link
Copy Markdown
Collaborator

Fixes #689

UnlockWithMasterPassword and ChangeWithMasterPassword called
Collection::set_locked directly, which unlocks the empty placeholder
of a pending migration with any secret, without ever migrating the
legacy keyring.

Route both through a new Service::unlock_collection helper that
completes the pending migration, and use it from perform_unlock as
well. A failed migration now keeps the placeholder locked so it can
be retried.

Fixes #689
@github-actions

Copy link
Copy Markdown

📊 Code Coverage Report

Metric Value
Current PR Coverage 84.58%
Main Branch Coverage 84.53%
Coverage Change 📈 +0.05%

Coverage report generated by cargo-tarpaulin

@bilelmoussaoui
bilelmoussaoui merged commit ff9f116 into main Nov 19, 2026
9 checks passed
@bilelmoussaoui
bilelmoussaoui deleted the bilelmoussaoui/unlock-with-master branch November 19, 2026 13:16
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.

UnlockWithMasterPassword and ChangeWithMasterPassword skip a pending v0 migration and unlock an empty placeholder

1 participant