docker / docker/docker-credential-helpers

docker pull triggers useless gpg passphrase dialog

Open
#259 0 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

Hello,
I'm on centos7 (working with docker engine). I started fiddling with docker-credential-pass in order to be able to do this:
echo pass | docker login private.registry.com --username AWS --password-stdin
ok that's now working. but...

Problem

I use shell script to update docker container on remote vm by azure pipeline,
but when I pull image, it triggers gpg passphrase dialog
docker pull private.registry.com/image
image

env

centos7
gpg (GnuPG) 2.0.22, libgcrypt 1.5.3
pass version v1.7.4
docker-credential-pass (github.com/docker/docker-credential-helpers) v0.7.0

I want know how to disable the passphrase dialog. Please help me, Thanks.

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 pull through docker-credential-pass on the listed CentOS 7, GnuPG 2.0.22, pass v1.7.4, and helper v0.7.0 environment. Inspect how the credential helper invokes pass and GPG, then verify whether a supported non-interactive configuration exists; done means documenting or implementing a reliable way to prevent the dialog in the Azure pipeline scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, centos, docker
Domain
authentication, devops, 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.