-
Notifications
You must be signed in to change notification settings - Fork 173
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
docker-credential-pass does not work with username containing forward-slash #162
Comments
I ran into the same problem -
I have implemented base64-encoding of the username for me to get it working, but this breaks backwards compability. We could ignore backwards compability. We could also reencode everything that is non-base64 into base64. Still, it might not be the way to go. The proper-escaping solution is less likely to break backwards compability, but still might, depending upon the escape character. Just replacing with Thoughts? |
This commit breaks backwards compability, as it will fail on all non-base64 encoded usernames. Fixes docker#162
On some docker registries the username is to be supplied as a chain of names each separated by forward-slash. For example oracle cloud registry uses the format
<tenancy>/<identityservice>/<username>
.Instead of encrypting this string as base64 and storing it as a single key in the password store,
docker-credential-pass
stores it as chain of sub-keys. Even thoughdocker login
is successful, all subsequent interactions likedocker pull
fail.The text was updated successfully, but these errors were encountered: