mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #182] [MERGED] Profile credential mismatch #346
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#346
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/182
Author: @cursor[bot]
Created: 1/26/2026
Status: ✅ Merged
Merged: 1/26/2026
Merged by: @rudrankriyam
Base:
feat/auth-profiles← Head:cursor/profile-credential-mismatch-5abf📝 Commits (2)
09587a6Align legacy config with default profiled06c574test: cover legacy default sync📊 Changes
2 files changed (+113 additions, -1 deletions)
View changed files
📝
internal/auth/keychain.go(+21 -1)📝
internal/auth/keychain_test.go(+92 -0)📄 Description
Align legacy credential fields with the default key name to prevent silent use of incorrect credentials when keychain is unavailable.
Previously,
auth switchcould setDefaultKeyNameto a profile stored in the keychain without updating the legacyKeyID,IssuerID, andPrivateKeyPathfields in the config. If the keychain later became unavailable, the system would incorrectly return credentials from a different profile (stored in the legacy fields) under the new default name.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.