for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

Cannot login if password contains a special character

Open travsoule opened this issue 9 years ago • 11 comments

Expected behavior

There are no special character rules when changing the password on cloud.docker.com, so a user should be able to create a password with them.

Actual behavior

Passwords that include the : character will fail without giving the user an explanation.

Information

Docker for Mac: version: 17.06.1-ce-mac24 (4cdec4294a50b2233146b09469b49937dabdebdd) macOS: version 10.12.6 (build: 16G29) logs: /tmp/6831EA5A-C199-4A5B-AFF5-3AB770545986/20170828-172459.tar.gz [OK] db.git [OK] vmnetd [OK] dns [OK] driver.amd64-linux [OK] virtualization VT-X [OK] app [OK] moby [OK] system [OK] moby-syslog [OK] db [OK] env [OK] virtualization kern.hv_support [OK] slirp [OK] osxfs [OK] moby-console [OK] logs [OK] docker-cli [OK] menubar [OK] disk

Steps to reproduce the behavior

  1. Change account password to include a :
  2. Use password from Step 1 to log into cloud.docker.com - should be successful
  3. Log out of Docker for Mac (if not automatically logged out)
  4. Log in to Docker for Mac using account password from Step 1 - should fail

travsoule avatar Aug 28 '17 21:08 travsoule

Second this, my pw contained :^) and it kept failing

khou avatar Aug 29 '17 06:08 khou

Just ran into this. In my case the docker login command worked and returned Login successful but any subsequent attempt to access my private repos failed with a permission error (e.g. Error response from daemon: repository <...> not found: does not exist or no pull access).

edvald avatar Sep 12 '17 11:09 edvald

Second this issue.

dgilling avatar Sep 24 '17 23:09 dgilling

I can confirm; logging in works, but pushing after that fails, unless the password is updated to not include a :.

ping @n4ss @simonferquel @tych0 PTAL

thaJeztah avatar Sep 25 '17 12:09 thaJeztah

Taking a look now!

n4ss avatar Sep 25 '17 12:09 n4ss

Looks like the password is not stored/updated in the keychain after successful login

thaJeztah avatar Sep 25 '17 12:09 thaJeztah

We found the source of the bug, working on the patch.

n4ss avatar Sep 26 '17 16:09 n4ss

This issue is fixed in the latest release.

n4ss avatar Oct 02 '17 11:10 n4ss

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Mar 28 '18 09:03 docker-robott

Closing because this should be fixed

thaJeztah avatar Apr 06 '18 01:04 thaJeztah

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jun 25 '20 03:06 docker-robott