{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/2845","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/2845/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/2845/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/2845/events","html_url":"https://github.com/Homebrew/brew/issues/2845","id":239920370,"number":2845,"title":"\"Sorry, try again.\" for password appears out of order","user":{"login":"vors","id":816680,"avatar_url":"https://avatars3.githubusercontent.com/u/816680?v=3","gravatar_id":"","url":"https://api.github.com/users/vors","html_url":"https://github.com/vors","followers_url":"https://api.github.com/users/vors/followers","following_url":"https://api.github.com/users/vors/following{/other_user}","gists_url":"https://api.github.com/users/vors/gists{/gist_id}","starred_url":"https://api.github.com/users/vors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vors/subscriptions","organizations_url":"https://api.github.com/users/vors/orgs","repos_url":"https://api.github.com/users/vors/repos","events_url":"https://api.github.com/users/vors/events{/privacy}","received_events_url":"https://api.github.com/users/vors/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-01T02:04:47Z","updated_at":"2017-07-01T04:46:54Z","closed_at":"2017-07-01T04:46:54Z","body":"This is small nit-picking issue\r\n\r\n# repro\r\n\r\nTry to install any formula that requires sudo, i.e. [`cask reinstall powershell`](https://github.com/caskroom/homebrew-cask/blob/master/Casks/powershell.rb)\r\n`brew cask reinstall powershell`\r\n\r\nEnter the root password incoorectly 2 times, then enter it correctly\r\n\r\n# expected behavior\r\n\r\n```\r\nPassword:\r\n==> Sorry, try again.\r\nPassword:\r\n==> Sorry, try again.\r\nPassword:\r\n```\r\n\r\n# actual behavior\r\n\r\n```\r\n==> Caveats\r\nA OpenSSL-backed libcurl is required for custom handling of certificates.\r\nThis is rarely needed, but you can install it with\r\n  brew install curl --with-openssl\r\nSee https://github.com/PowerShell/PowerShell/issues/2211\r\n\r\n==> Satisfying dependencies\r\n==> Installing Formula dependencies from Homebrew\r\nopenssl ... already installed\r\ncomplete\r\n==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.3/powershell-6.0.0-beta.3-osx.10.12-x64.\r\nAlready downloaded: /Users/vors/Library/Caches/Homebrew/Cask/powershell--6.0.0-beta.3.pkg\r\n==> Verifying checksum for Cask powershell\r\n==> Uninstalling Cask powershell\r\n==> Running uninstall process for powershell; your password may be necessary\r\n==> Uninstalling packages:\r\npowershell\r\nPassword:\r\nPassword:\r\nPassword:\r\n==> Sorry, try again.\r\n==> Sorry, try again.\r\n==> Installing Cask powershell\r\n==> Running installer for powershell; your password may be necessary.\r\n==> Package installers may write to any location; options such as --appdir are ignored.\r\n==> installer: Package name is powershell-6.0.0-beta.3-osx.10.12-x64\r\n==> installer: Installing at base path /\r\n==> installer: The install was successful.\r\n🍺  powershell was successfully installed!\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/312410327","html_url":"https://github.com/Homebrew/brew/issues/2845#issuecomment-312410327","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/2845","id":312410327,"user":{"login":"reitermarkus","id":1309829,"avatar_url":"https://avatars1.githubusercontent.com/u/1309829?v=3","gravatar_id":"","url":"https://api.github.com/users/reitermarkus","html_url":"https://github.com/reitermarkus","followers_url":"https://api.github.com/users/reitermarkus/followers","following_url":"https://api.github.com/users/reitermarkus/following{/other_user}","gists_url":"https://api.github.com/users/reitermarkus/gists{/gist_id}","starred_url":"https://api.github.com/users/reitermarkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reitermarkus/subscriptions","organizations_url":"https://api.github.com/users/reitermarkus/orgs","repos_url":"https://api.github.com/users/reitermarkus/repos","events_url":"https://api.github.com/users/reitermarkus/events{/privacy}","received_events_url":"https://api.github.com/users/reitermarkus/received_events","type":"User","site_admin":false},"created_at":"2017-07-01T04:46:54Z","updated_at":"2017-07-01T04:46:54Z","body":"This cannot be fixed since the `Password:` prompt doesn't use `stderr`, so it will always appear immediately, without waiting for the previous `Sorry, try again.`. "}}
{"actor":{"display_login":"reitermarkus"}}