Repository navigation
fix(devcontainer): provide reset remedy on wrong keyring password - #2390
Merged
Merged
Conversation
When an existing keyring rejects the password, devops devcontainer unlock-keyring printed only that the password was wrong and the keyring remained locked. The message provided no remedy. What changes: - devops devcontainer unlock-keyring now formats the error message with the path of the existing keyring file and instructions to move the file to a backup and run devops devcontainer unlock-keyring again. - ERRORS.devcontainer.keyring_wrong_password in src/devops_cli/lang/en/errors.py names the keyring path placeholder and the reset instructions. - tests/test_devcontainer.py tests that the command output holds the path and the reset instructions. Evidence: - Root cause analysis and evaluation posted to #2340. Keyrings persist across devcontainer rebuilds through the mounted home volume. Upstream gnome-keyring binary format and encryption remain identical between versions. Password recovery without the original password is not possible because the file uses AES-128 encryption. - uv run devops ci fail-to-pass --base origin/main passed: 1 failed on base (tests.test_devcontainer::test_unlock_keyring_reports_a_wrong_password) and 109 passed. - uv run pytest tests/test_devcontainer.py passed (110 passed). - uv run devops openspec check passed. Closes #2340 Change: openspec/changes/archive/2026-10-27-2340-devcontainer-keyring-wrong-password/
dan-petty
marked this pull request as ready for review
October 27, 2026 22:19
dan-petty
pushed a commit
that referenced
this pull request
Oct 27, 2026
🤖 I have created a release *beep* *boop* --- ## [0.8.1](v0.8.0...v0.8.1) (2026-10-27) ### Bug Fixes * **devcontainer:** provide reset remedy on wrong keyring password ([#2390](#2390)) ([5031b1d](5031b1d)) * **k8s:** the --stack help of deploy-stack names every stack that the command accepts ([#2388](#2388)) ([69fe9b3](69fe9b3)) * **monitoring:** evaluate log or metric volume disk low alert while a pod moves ([#2387](#2387)) ([7b381ea](7b381ea)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When an existing keyring rejects the password, devops devcontainer unlock-keyring printed only that the password was wrong and the keyring remained locked. The message provided no remedy.
What changes:
Evidence:
Closes #2340
Change:
openspec/changes/archive/2026-10-27-2340-devcontainer-keyring-wrong-password/