docker / docker/docker-credential-helpers

Authentication failure

Open
#192 4 comments 1 reaction 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

After I successfully login with docker login. I can push/pull etc. However, after some short amount of time, when I try to push again, I get the following error:

denied: requested access to the resource is denied unauthorized: authentication required

If I logout, and log back in again, I can again push/pull etc.

This seems to be related to the docker-credential-helper for pass, with the latest docker-ce version: 20.10.1-3. When I go back to a plain text credential, this problem seems to go away.

I am using the amd64 binary for 0.6.3.

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 credential expiry with the pass helper, Docker 20.10.1-3, and helper version 0.6.3, then compare it with plain-text credentials. Done means repeated push and pull operations remain authenticated without requiring docker logout and login.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.