Skip to content

Unable to authenticate with container registry using pass #354

Open
@Time0o

Description

@Time0o

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions