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

login with personal access token fails #207

Open
christian-korneck opened this issue May 27, 2022 · 1 comment
Open

login with personal access token fails #207

christian-korneck opened this issue May 27, 2022 · 1 comment

Comments

@christian-korneck
Copy link

christian-korneck commented May 27, 2022


BUG REPORT INFORMATION

Description

For me trying to hub-tool login with a Personal Access Token (PAT) fails. Login works for the same Docker account with username/password. The same PAT works with docker login.

Steps to reproduce the issue:

$ hub-tool --version
Docker Hub Tool v0.4.4, build c9cb0ac
$ hub-tool login --verbose
Username: mydockerusername
Password: ****************************** (a PAT with highest permissions)
Error: error storing credentials - err: exit status 1, out: `error storing credentials - err: exit status 1, out: `The stub received bad data.``

Describe the results you received:
login with PAT did not work

Describe the results you expected:
login with PAT works

Output of hub-tool --version:
v0.4.4, build c9cb0ac

Additional environment details (AWS, VirtualBox, physical, etc.):
tried on Windows x64

@voxmaster
Copy link

Some problems but with a regular password. Tested on WSL1

Username: myusername
Password: 
Error: error storing credentials - err: exit status 1, out: `error storing credentials - err: exit status 1, out: `The stub received bad data.``
hub-tool --version
Docker Hub Tool v0.4.6, build 74bc560

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