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

Sudo password not accepted after browser auth flow #8

Closed
xtreme-bozhidar-lenchov opened this issue Jan 7, 2019 · 3 comments
Closed

Comments

@xtreme-bozhidar-lenchov
Copy link

xtreme-bozhidar-lenchov commented Jan 7, 2019

○ → ssoca -e pws-prod openvpn exec --sudo
Visit the following link to receive an authentication token...

   https://ssoca-vpn.run.pivotal.io/auth/initiate?client_port=50156&client_version=0.13.0

token> (received from browser)

Password:
Sorry, try again.
Password:
sudo: 1 incorrect password attempt

<interrupted interactive prompt>

No matter how slowly or carefully I type the password (even with caps lock off!), it's always wrong. Interrupting the prompt and restarting the client successfully accepts the sudo password after (no web flow this time around since token is valid).

From Danny on Slack: Probably a bug somewhere in server_token_retrieval.go.

@dpb587 dpb587 closed this as completed in b1916d3 Jan 10, 2019
@dpb587
Copy link
Owner

dpb587 commented Jan 11, 2019

@xtreme-bozhidar-lenchov if you want to try a dev build which contains this fix you can find it here. I don't use this specific workflow too often, so feel free to give it a try and let me know if you notice something off about it.

@xtreme-bozhidar-lenchov
Copy link
Author

@xtreme-bozhidar-lenchov
Copy link
Author

Worked this morning without any issues!

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