chore: deprecate plaintext token fallback in credential store#140
Merged
Conversation
Mark the legacy plaintext token storage (in ~/.archgate/credentials) as deprecated. Users on the legacy path now see a warning to run `archgate login refresh` to migrate to the git credential manager. The token field in the credentials file and the file-based fallback will be removed in the next major version. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying archgate-cli with
|
| Latest commit: |
f5f0614
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2e435741.archgate-cli.pages.dev |
| Branch Preview URL: | https://chore-deprecate-plaintext-cr.archgate-cli.pages.dev |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
~/.archgate/credentialsas deprecated"Token loaded from plaintext file (deprecated). Run archgate login refresh to migrate to secure credential storage."Context
The credential-hardening plan (
internal/plans/credential-hardening-plan.md) has been fully resolved by the git credential manager migration in #138. The plan file has been removed from the internal repo.This PR adds deprecation markers so the legacy path can be cleanly removed in v1.0.
Test plan
🤖 Generated with Claude Code