Skip to content

Change pwssword in the locked keychain as well, once it is changed for the vault on Linux - #4301

Merged
infeo merged 1 commit into
cryptomator:developfrom
purejava:fix-change-passphrase
Sep 23, 2026
Merged

infeo merged 1 commit into
cryptomator:developfrom
purejava:fix-change-passphrase

Conversation

@purejava

Copy link
Copy Markdown
Contributor

This PR fixes the problem described in #2920 (comment).

The PR is tested for kwallet6 and gnome-keyring.

@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 8a5fa255-7c97-4d9a-be62-93b7db298c05

📥 Commits

Reviewing files that changed from the base of the PR and between a022246 and 8ab3050.

📒 Files selected for processing (1)
  • src/main/java/org/cryptomator/ui/changepassword/ChangePasswordController.java

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


Walkthrough

updatePasswordInSystemkeychain() now updates the passphrase whenever the system keychain is supported. The method no longer skips the update when the keychain is locked.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: 🔵 Low · up to 8ab30

The password-change flow now attempts to update the Linux system-keychain entry even when it is locked; if that update fails after the vault password changes, the vault and stored credential can become inconsistent without automatic retry or recovery. This is a bounded risk requiring explicit owner awareness.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description explains the locked keychain password fix, references the related issue, and identifies the tested keychains.
Title check ✅ Passed The title clearly describes the main change: update the password in a locked keychain after a Linux vault password change. The title contains a spelling error and is longer than necessary, but it rema…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title clearly describes the main change: update the password in a locked keychain after a Linux vault password change. The title contains a spelling error and is longer than necessary, but it remains related and understandable.

  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@infeo infeo added this to the next milestone Sep 23, 2026
@infeo
infeo merged commit e1f1356 into cryptomator:develop Sep 23, 2026
2 checks passed
@purejava
purejava deleted the fix-change-passphrase branch October 1, 2026 03:43
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.

2 participants