Skip to content

Expose errors returned from go-keyring module #12442

Open

Description

@babakks

When gh fails to store the auth token in the local keyring, it stores the token in plain text and displays a generic warning. To help users debug this issue, we should also include any error returned from go-keyring module (that we use to communicate with the local storage).

Related to:

Acceptance Criteria

Copy/pasting from #12418 (comment)

Given gh cannot use the keychain
When I log in
Then the plain fallback message should be paired with an explanation for why we couldn't use the keychain

Activity

  1. added
    enhancement
    core
    gh-auth
    on Jan 7, 2026
  2. github-actions commented on Jan 7, 2026

    @github-actions
    Contributor

    Thank you for your issue! We have categorized it as a feature request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.

    Unless you see the help wanted Contributions welcome label, we are not currently looking for external contributions for this feature.

    If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.

  3. added
    pitch
    on Mar 24, 2026
  4. cossio commented on Mar 27, 2026

    @cossio

    Related: #8954

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreenhancementgh-authpitchstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions