-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
tsh login
with MFA not working on Windows
#9069
Comments
Hey Gus, thanks for the detailed report.
It seems that we could probably do better in terms of UX - say, emitting a warning in In some better news, #8499 is likely to address our current Windows woes. There are some other work streams in my TODO list that should take us to |
Thanks. That's cool, I hadn't seen the warnings in the docs. I agree that on Windows we should definitely emit a warning saying that U2F keys aren't currently supported and that the user should register a TOTP key instead. To me it wasn't at all obvious that we just don't support U2F - I figured there was something wrong with my system which was preventing it from working. |
Hi @codingllama, can you check this signal11/hidapi#231 and psmoveservice/hidapi@38681c7? |
@andrewaeva, I patched https://github.com/flynn/hid/blob/f1b9b6cc019a9fc5cc6d699476c2b91b4e30b897/hid_windows.go#L106 with the fix you suggested, but it didn't seem to do the trick for me. I'll poke around a bit more, but not too long, as I might rework this bit in the near future anyway. |
Description
What happened:
tsh login
doesn't seem to work with an MFA token on Windows.What you expected to happen:
tsh login
should work.At some point during this login process the Yubikey does actually flash a few times, but tapping on it does nothing. The stack trace appears regardless of whether you tap it or not.
I tried Command Prompt windows running as both a regular user and with elevated privileges (Administrator).
Debug logs:
Server Details
teleport version
):Teleport Enterprise v8.0.0 git:v8.0.0-0-g6720c97e9 go1.17.3
/etc/os-release
): Ubuntu 20.04.3Client Details
tsh version
):Teleport v8.0.0 git:v8.0.0-0-g6720c97e9 go1.17.3
The text was updated successfully, but these errors were encountered: