docker / docker/docker-credential-helpers

Error saving credentials: error storing credentials - err: exit status 1, out: `pass store is uninitialized`

Open
#140 22 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

I've successfully got it to install and work but the issue is it's not consistent.

Error:

  • Error saving credentials: error storing credentials - err: exit status 1, out: pass store is uninitialized

Expectation:

  • Use the existing credentials

using

Troubleshooting:

gpg --list-keys
/root/.gnupg/pubring.gpg
'------------------------'
pub 2048R/12312312 2019-03-23
uid Name email@email.com
sub 2048R/23423423 2019-03-23

pass init 12312312
Password store initialized for 12312312

docker login
username:

It shouldn't request the username and password it should just use the existing credentials. Why isn't it loading the key for 12312312

what's the fix?

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

No source file or test is named. Start by reproducing the flow with gpg --list-keys, pass init 12312312, and docker login, then review the linked docker-credential-helpers issue and the 22-comment discussion. Done means identifying why the existing key is not loaded and documenting or implementing a verified fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, cli, 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.