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

Clean up error message for incorrect passphrase #969

Closed
riyazdf opened this issue Sep 22, 2016 · 1 comment
Closed

Clean up error message for incorrect passphrase #969

riyazdf opened this issue Sep 22, 2016 · 1 comment
Milestone

Comments

@riyazdf
Copy link
Contributor

riyazdf commented Sep 22, 2016

We get weird (MISSING) delimiters and other hard-to-read output when failing to login with correct credentials against a notary-server with auth (like https://notary.docker.io)

notary 🐳 $ bin/notary -s https://<URL> publish <REPO>
Pushing changes to <REPO>
Enter username: <USERNAME>
Enter password:

* fatal: token auth attempt for registry: https://<URL>/auth/token?account=<USERNAME>&scope=repository%!A(MISSING)d<URL>%!F(MISSING)<ORG>%!F(MISSING)<REPO>%!A(MISSING)push%!C(MISSING)pull&service=<URL> request failed with status: 401 Unauthorized

I've added in <URL>, <REPO>, <USERNAME>, and <ORG> myself, but the %!F(MISSING) output is straight from the terminal

@riyazdf
Copy link
Contributor Author

riyazdf commented Oct 4, 2016

Closed with #972

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