{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/655","labels_url":"https://api.github.com/repos/docker/distribution/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/655/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/655/events","html_url":"https://github.com/docker/distribution/issues/655","id":90049896,"number":655,"title":"Docker registry - basic authentication with htpasswd","user":{"login":"plamer","id":8291214,"avatar_url":"https://avatars.githubusercontent.com/u/8291214?v=3","gravatar_id":"","url":"https://api.github.com/users/plamer","html_url":"https://github.com/plamer","followers_url":"https://api.github.com/users/plamer/followers","following_url":"https://api.github.com/users/plamer/following{/other_user}","gists_url":"https://api.github.com/users/plamer/gists{/gist_id}","starred_url":"https://api.github.com/users/plamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plamer/subscriptions","organizations_url":"https://api.github.com/users/plamer/orgs","repos_url":"https://api.github.com/users/plamer/repos","events_url":"https://api.github.com/users/plamer/events{/privacy}","received_events_url":"https://api.github.com/users/plamer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/distribution/labels/documentation","name":"documentation","color":"0052cc"},{"url":"https://api.github.com/repos/docker/distribution/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-22T09:12:50Z","updated_at":"2015-07-02T19:21:20Z","closed_at":null,"body":"Hello there,\r\n\r\nI've noticed here https://docs.docker.com/registry/authentication/ that is suggested to use -B (Force bcrypt encryption of the password (very secure)) wth htpasswd when generating the password but it requires bcrypt. So after bringing up the nginx/registry images you get this on the server:\r\n    \r\n    nginx_1    | 2015/06/22 09:00:25 [crit] 5#5: *2 crypt_r() failed (22: Invalid argument)\r\n\r\nand this on the client trying to authenticate to the registry:\r\n\r\n    FATA[0000] Error response from daemon: no successful auth challenge for https://someregistry.something:443/v2/ - errors: [basic auth attempt to https://someregistry.something:443/v2/ realm \"registry.localhost\" failed with status: 500 Internal Server Error]\r\n\r\nAfter using htpasswd without -B (htpasswd -bc ...) it worked right away."},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/118139534","html_url":"https://github.com/docker/distribution/issues/655#issuecomment-118139534","issue_url":"https://api.github.com/repos/docker/distribution/issues/655","id":118139534,"user":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T19:21:20Z","updated_at":"2015-07-02T19:21:20Z","body":"@Wombasta Thank your for filing the issue. I've filed the issue over at nginxinc/docker-nginx#29."}}