Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to authenticate with container registry using pass #354

Open
Time0o opened this issue Feb 3, 2025 · 1 comment
Open

Unable to authenticate with container registry using pass #354

Time0o opened this issue Feb 3, 2025 · 1 comment

Comments

@Time0o
Copy link

Time0o commented Feb 3, 2025

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?

@andreyrd
Copy link

Same happens to me. I have to manually run pass show something first in order to unlock pass, and then it works for some time after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants