docker / docker/docker-credential-helpers

Unable to authenticate with container registry using pass

Open
#354 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.3k
Forks
195
Avg merge
1d 20h
Merged PRs (30d)
5

Description

Apologies if I have made a basic mistake, but I cannot get the pass credential helper to work on a very basic level. I have installed and initialized pass v1.7.4 and docker-credential-pass 0.6.4 and initialized the former.

I have then logged into a GitHub container registry via:

echo  $GH_TOKEN | docker login ghcr.io -u $MY_USERNAME --password-stdin

And tried to pull or push images but this always fails with "unauthorized" but the GitHub token has the correct rights and more importantly this works when not using the pass credential helper. Should this not at least prompt for the password of my GPG key???

Am I missing a step?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the docker login and image pull or push with docker-credential-pass 0.6.4, pass 1.7.4, and the GitHub container registry. Compare the behavior with and without the helper, then determine what change would make the documented authentication flow work or clarify the required setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
authentication, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.