Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Authentication fails because the token auth does not seem to be supported #15

Closed
Stegoo opened this issue Dec 5, 2016 · 4 comments
Closed
Labels

Comments

@Stegoo
Copy link

Stegoo commented Dec 5, 2016

Hi,

My ~/.docker/config.json looks like:

{
	"auths": {
		"https://index.docker.io/v1/": {
			"auth": "c4RlZ278cHh4cnZFNjW1TFaq"
		}
	}
}

But when I run: tagfish update --dry-run config.yml, I get the following error:

ERROR: call to 'https://index.docker.io/v1/repositories/org/repo/tags' failed with 401

Looking at the code, it seems that you check for a user and password to login into docker.
Do you have any plans to support the token authentication method?

Thank you

@mdub
Copy link
Collaborator

mdub commented Jan 17, 2017

We're aware of this short-coming, and hope to address it, shortly.

@gonzalo-bulnes
Copy link

@mdub Let me know if you need help, I'm happy to jump in : )

@mdub
Copy link
Collaborator

mdub commented Jun 23, 2017

Update: we've built a successor to Tagfish, dfresh, which leverages (parts of) the Docker CLI code, and therefore supports V2 auth tokens, as well as other things like credential-helpers.

@mdub mdub added the wontfix label Jun 23, 2017
@mdub
Copy link
Collaborator

mdub commented Jun 23, 2017

This will not be fixed, in tagfish.

@mdub mdub closed this as completed Jun 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants