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

tsh login with MFA not working on Windows #9069

Closed
webvictim opened this issue Nov 19, 2021 · 4 comments
Closed

tsh login with MFA not working on Windows #9069

webvictim opened this issue Nov 19, 2021 · 4 comments
Labels
bug mfa Issues related to Multi Factor Authentication ux windows

Comments

@webvictim
Copy link
Contributor

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:

C:\Users\Gus>tsh --debug login --proxy=teleport.example.com --user=gus --auth=local
←[37mDEBU←[0m [KEYSTORE]  Returning Teleport TLS certificate "C:\\Users\\Gus\\.tsh\\keys\\teleport.example.com\\webvictim-x509.pem" valid until "2021-07-24 03:57:40 +0000 UTC". client\keystore.go:280
←[37mDEBU←[0m [KEYSTORE]  Reading certificates from path "C:\\Users\\Gus\\.tsh\\keys\\teleport.example.com\\webvictim-ssh\\teleport.example.com-cert.pub". client\keystore.go:303
←[36mINFO←[0m [CLIENT]    no host login given. defaulting to Gus client\api.go:1071
←[31mERRO←[0m [CLIENT]    [KEY AGENT] Unable to connect to SSH agent on socket: "". client\api.go:2877
←[31mERRO←[0m [KEYSTORE]  open C:\Users\Gus\.tsh\keys\teleport.example.com\gus: The system cannot find the file specified. client\keystore.go:243
←[37mDEBU←[0m [TSH]       open C:\Users\Gus\.tsh\keys\teleport.example.com\gus: The system cannot find the file specified. tsh\tsh.go:1903
←[37mDEBU←[0m [CLIENT]    not using loopback pool for remote proxy addr: teleport.example.com:443 client\api.go:2842
←[37mDEBU←[0m             Attempting GET teleport.example.com:443/webapi/ping/local webclient\webclient.go:62
Enter password for Teleport user gus:
←[37mDEBU←[0m [CLIENT]    not using loopback pool for remote proxy addr: teleport.example.com:443 client\api.go:2842
←[37mDEBU←[0m [CLIENT]    HTTPS client init(proxyAddr=teleport.example.com:443, insecure=false) client\weblogin.go:221
Tap any security key
←[37mDEBU←[0m [CLIENT]    WebAuthn: prompting U2F devices with origin "https://teleport.example.com:443" client\mfa.go:110
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
←[37mDEBU←[0m             Error interacting with U2F devices error:[
ERROR REPORT:
Original Error: trace.aggregate The process cannot access the file because it is being used by another process.
Stack Trace:
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:134 github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 github.com/gravitational/teleport/lib/auth/webauthncli.Login
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2
        /opt/go/src/runtime/asm_amd64.s:1581 runtime.goexit
User Message: The process cannot access the file because it is being used by another process.] webauthncli\u2f.go:80
runtime: bad pointer in frame github.com/flynn/hid.openDevice at 0xc00048b5e8: 0x5b8
fatal error: invalid pointer found on stack

runtime stack:
runtime.throw({0x1cb3cdb, 0x188ace0})
        /opt/go/src/runtime/panic.go:1198 +0x76 fp=0x9e117ff198 sp=0x9e117ff168 pc=0x50a336
runtime.adjustpointers(0x9e117ff5b8, 0x0, 0x2b02988, {0x2b02988, 0x188ace0})
        /opt/go/src/runtime/stack.go:617 +0x1d0 fp=0x9e117ff200 sp=0x9e117ff198 pc=0x5205f0
runtime.adjustframe(0x9e117ff5b8, 0x9e117ff6a0)
        /opt/go/src/runtime/stack.go:659 +0xcc fp=0x9e117ff2b0 sp=0x9e117ff200 pc=0x52070c
runtime.gentraceback(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7fffffff, 0x1d7eb18, 0x0, 0x0)
        /opt/go/src/runtime/traceback.go:350 +0xac3 fp=0x9e117ff620 sp=0x9e117ff2b0 pc=0x52d903
runtime.copystack(0xc000216b60, 0x2000)
        /opt/go/src/runtime/stack.go:918 +0x293 fp=0x9e117ff7d0 sp=0x9e117ff620 pc=0x520ed3
runtime.shrinkstack(0xc000216b60)
        /opt/go/src/runtime/stack.go:1199 +0x126 fp=0x9e117ff7f0 sp=0x9e117ff7d0 pc=0x521cc6
runtime.scanstack(0xc000216b60, 0xc000064698)
        /opt/go/src/runtime/mgcmark.go:719 +0xb2 fp=0x9e117ff9f0 sp=0x9e117ff7f0 pc=0x4ef3b2
runtime.markroot.func1()
        /opt/go/src/runtime/mgcmark.go:232 +0xb1 fp=0x9e117ffa38 sp=0x9e117ff9f0 pc=0x4ee471
runtime.markroot(0xc000064698, 0x20)
        /opt/go/src/runtime/mgcmark.go:205 +0x170 fp=0x9e117ffab8 sp=0x9e117ffa38 pc=0x4ee210
runtime.gcDrain(0xc000064698, 0x7)
        /opt/go/src/runtime/mgcmark.go:1013 +0x379 fp=0x9e117ffb10 sp=0x9e117ffab8 pc=0x4efff9
runtime.gcBgMarkWorker.func2()
        /opt/go/src/runtime/mgc.go:1288 +0x6e fp=0x9e117ffb60 sp=0x9e117ffb10 pc=0x4ed08e
runtime.systemstack()
        /opt/go/src/runtime/asm_amd64.s:383 +0x4e fp=0x9e117ffb68 sp=0x9e117ffb60 pc=0x539a4e

goroutine 11 [GC worker (idle)]:
runtime.systemstack_switch()
        /opt/go/src/runtime/asm_amd64.s:350 fp=0xc000489f60 sp=0xc000489f58 pc=0x5399e0
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1256 +0x1b8 fp=0xc000489fe0 sp=0xc000489f60 pc=0x4ecd58
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000489fe8 sp=0xc000489fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 1 [select]:
runtime.gopark(0xc00072e548, 0x2, 0x1f, 0x0, 0xc00072e4ec)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc00072e330 sp=0xc00072e310 pc=0x50cc96
runtime.selectgo(0xc00072e548, 0xc00072e4e8, 0x1ca50e0, 0x0, 0xc00072e538, 0x1)
        /opt/go/src/runtime/select.go:327 +0x792 fp=0xc00072e478 sp=0xc00072e330 pc=0x51c3d2
github.com/gravitational/teleport/lib/client.PromptMFAChallenge({0x1fc0a88, 0xc0005bf7c0}, {0xc000046f18, 0x17}, 0xc0005b20f0, {0x0, 0xc0007de060})
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:123 +0x5b9 fp=0xc00072e708 sp=0xc00072e478 pc=0x17edef9
github.com/gravitational/teleport/lib/client.SSHAgentMFALogin({0x1fc0a88, 0xc0005bf7c0}, {{{0xc000046f18, 0x17}, {0xc00030e000, 0x17d, 0x1f4}, 0x274a48a78000, 0x0, 0x0, ...}, ...})
        /go/src/github.com/gravitational/teleport/lib/client/weblogin.go:407 +0x63e fp=0xc00072e9e8 sp=0xc00072e708 pc=0x17f6ede
github.com/gravitational/teleport/lib/client.(*TeleportClient).mfaLocalLogin(0xc0007b6000, {0x1fc0a88, 0xc0005bf7c0}, {0xc00030e000, 0x17d, 0x1f4})
        /go/src/github.com/gravitational/teleport/lib/client/api.go:2802 +0x22c fp=0xc00072eb40 sp=0xc00072e9e8 pc=0x17d1e0c
github.com/gravitational/teleport/lib/client.(*TeleportClient).localLogin(0xc0007b6000, {0x1fc0a88, 0xc0005bf7c0}, {0xc0005aacc8, 0xffdbdf98d3eef0f9}, {0xc00030e000, 0x0, 0xed88d86b4})
        /go/src/github.com/gravitational/teleport/lib/client/api.go:2686 +0xf9 fp=0xc00072eba0 sp=0xc00072eb40 pc=0x17d10f9
github.com/gravitational/teleport/lib/client.(*TeleportClient).Login(0xc0007b6000, {0x1fc0a88, 0xc0005bf7c0})
        /go/src/github.com/gravitational/teleport/lib/client/api.go:2309 +0x317 fp=0xc00072ec40 sp=0xc00072eba0 pc=0x17ceab7
main.onLogin(0xc000101400)
        /go/src/github.com/gravitational/teleport/tool/tsh/tsh.go:839 +0x9ba fp=0xc00072f0b8 sp=0xc00072ec40 pc=0x185635a
main.Run({0xc000158010, 0x5, 0x7}, {0x0, 0x0, 0x4d4688})
        /go/src/github.com/gravitational/teleport/tool/tsh/tsh.go:617 +0xc686 fp=0xc00072ff18 sp=0xc00072f0b8 pc=0x1854fa6
main.main()
        /go/src/github.com/gravitational/teleport/tool/tsh/tsh.go:274 +0x214 fp=0xc00072ff80 sp=0xc00072ff18 pc=0x1848854
runtime.main()
        /opt/go/src/runtime/proc.go:255 +0x217 fp=0xc00072ffe0 sp=0xc00072ff80 pc=0x50c8f7
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00072ffe8 sp=0xc00072ffe0 pc=0x53bd81

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0, 0x0, 0x0, 0x0, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000089fb0 sp=0xc000089f90 pc=0x50cc96
runtime.goparkunlock(...)
        /opt/go/src/runtime/proc.go:372
runtime.forcegchelper()
        /opt/go/src/runtime/proc.go:306 +0xb1 fp=0xc000089fe0 sp=0xc000089fb0 pc=0x50cb31
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000089fe8 sp=0xc000089fe0 pc=0x53bd81
created by runtime.init.7
        /opt/go/src/runtime/proc.go:294 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1, 0x0, 0x0, 0x0, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc00008bfb0 sp=0xc00008bf90 pc=0x50cc96
runtime.goparkunlock(...)
        /opt/go/src/runtime/proc.go:372
runtime.bgsweep()
        /opt/go/src/runtime/mgcsweep.go:182 +0xd8 fp=0xc00008bfe0 sp=0xc00008bfb0 pc=0x4f4818
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00008bfe8 sp=0xc00008bfe0 pc=0x53bd81
created by runtime.gcenable
        /opt/go/src/runtime/mgc.go:181 +0x55

goroutine 4 [GC scavenge wait]:
runtime.gopark(0xc00009bfb8, 0x0, 0x0, 0x0, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc00009bf80 sp=0xc00009bf60 pc=0x50cc96
runtime.goparkunlock(...)
        /opt/go/src/runtime/proc.go:372
runtime.bgscavenge()
        /opt/go/src/runtime/mgcscavenge.go:314 +0x288 fp=0xc00009bfe0 sp=0xc00009bf80 pc=0x4f2a88
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00009bfe8 sp=0xc00009bfe0 pc=0x53bd81
created by runtime.gcenable
        /opt/go/src/runtime/mgc.go:182 +0x65

goroutine 18 [finalizer wait]:
runtime.gopark(0x2da0b40, 0xc00008df70, 0xb1, 0x96, 0x187aa40)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc00008de30 sp=0xc00008de10 pc=0x50cc96
runtime.goparkunlock(...)
        /opt/go/src/runtime/proc.go:372
runtime.runfinq()
        /opt/go/src/runtime/mfinal.go:177 +0xb3 fp=0xc00008dfe0 sp=0xc00008de30 pc=0x4ea1d3
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00008dfe8 sp=0xc00008dfe0 pc=0x53bd81
created by runtime.createfing
        /opt/go/src/runtime/mfinal.go:157 +0x45

goroutine 7 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc00004f5a0, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000097f60 sp=0xc000097f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc000097fe0 sp=0xc000097f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000097fe8 sp=0xc000097fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 20 [chan receive]:
runtime.gopark(0xc000200240, 0x51265b, 0x20, 0x9f, 0x5270e5)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000099ec8 sp=0xc000099ea8 pc=0x50cc96
runtime.chanrecv(0xc0002001e0, 0xc000099fa0, 0x1)
        /opt/go/src/runtime/chan.go:576 +0x56c fp=0xc000099f58 sp=0xc000099ec8 pc=0x4d77ac
runtime.chanrecv2(0x2d9fa00, 0x0)
        /opt/go/src/runtime/chan.go:444 +0x18 fp=0xc000099f80 sp=0xc000099f58 pc=0x4d7218
k8s.io/klog/v2.(*loggingT).flushDaemon(0x0)
        /go/src/github.com/gravitational/teleport/vendor/k8s.io/klog/v2/klog.go:1169 +0x6a fp=0xc000099fc8 sp=0xc000099f80 pc=0xcb0d8a
k8s.io/klog/v2.init.0·dwrap·7()
        /go/src/github.com/gravitational/teleport/vendor/k8s.io/klog/v2/klog.go:417 +0x26 fp=0xc000099fe0 sp=0xc000099fc8 pc=0xcae766
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000099fe8 sp=0xc000099fe0 pc=0x53bd81
created by k8s.io/klog/v2.init.0
        /go/src/github.com/gravitational/teleport/vendor/k8s.io/klog/v2/klog.go:417 +0xfb

goroutine 6 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc00004f580, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc0002f9f60 sp=0xc0002f9f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc0002f9fe0 sp=0xc0002f9f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0002f9fe8 sp=0xc0002f9fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 8 [GC worker (idle)]:
runtime.gopark(0x8ee177bb1e9a8, 0xc00004f5c0, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc00009df60 sp=0xc00009df40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc00009dfe0 sp=0xc00009df60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00009dfe8 sp=0xc00009dfe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 9 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc000214000, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc0002f5f60 sp=0xc0002f5f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc0002f5fe0 sp=0xc0002f5f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0002f5fe8 sp=0xc0002f5fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 22 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc000214020, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc0002fbf60 sp=0xc0002fbf40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc0002fbfe0 sp=0xc0002fbf60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0002fbfe8 sp=0xc0002fbfe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 10 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc00012abc0, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc0002f7f60 sp=0xc0002f7f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc0002f7fe0 sp=0xc0002f7f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0002f7fe8 sp=0xc0002f7fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 23 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc00012abe0, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000575f60 sp=0xc000575f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc000575fe0 sp=0xc000575f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000575fe8 sp=0xc000575fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 24 [GC worker (idle)]:
runtime.gopark(0x1d7ec28, 0xc00012ac00, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000577f60 sp=0xc000577f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc000577fe0 sp=0xc000577f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000577fe8 sp=0xc000577fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 25 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc00012ac20, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000571f60 sp=0xc000571f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc000571fe0 sp=0xc000571f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000571fe8 sp=0xc000571fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 34 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc00004f600, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000485f60 sp=0xc000485f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc000485fe0 sp=0xc000485f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000485fe8 sp=0xc000485fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 35 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc000214040, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000487f60 sp=0xc000487f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc000487fe0 sp=0xc000487f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000487fe8 sp=0xc000487fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 36 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc000214060, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc00021df60 sp=0xc00021df40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc00021dfe0 sp=0xc00021df60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00021dfe8 sp=0xc00021dfe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 37 [GC worker (idle)]:
runtime.gopark(0x1d7ec28, 0xc000214080, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc00021ff60 sp=0xc00021ff40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc00021ffe0 sp=0xc00021ff60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00021ffe8 sp=0xc00021ffe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 26 [GC worker (idle)]:
runtime.gopark(0x8ee15886a0d1c, 0xc0002140a0, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000573f60 sp=0xc000573f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc000573fe0 sp=0xc000573f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000573fe8 sp=0xc000573fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 38 [GC worker (idle)]:
runtime.gopark(0x8ee177baa2754, 0xc0002140c0, 0x18, 0x14, 0x0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000219f60 sp=0xc000219f40 pc=0x50cc96
runtime.gcBgMarkWorker()
        /opt/go/src/runtime/mgc.go:1200 +0xe5 fp=0xc000219fe0 sp=0xc000219f60 pc=0x4ecc85
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000219fe8 sp=0xc000219fe0 pc=0x53bd81
created by runtime.gcBgMarkStartWorkers
        /opt/go/src/runtime/mgc.go:1124 +0x25

goroutine 98 [GC assist marking (scan)]:
runtime.systemstack_switch()
        /opt/go/src/runtime/asm_amd64.s:350 fp=0xc00048b4a8 sp=0xc00048b4a0 pc=0x5399e0
runtime.gcAssistAlloc(0xc000216b60)
        /opt/go/src/runtime/mgcmark.go:447 +0x18b fp=0xc00048b508 sp=0xc00048b4a8 pc=0x4eeb2b
runtime.mallocgc(0x40, 0x1b62ea0, 0x1)
        /opt/go/src/runtime/malloc.go:959 +0x125 fp=0xc00048b588 sp=0xc00048b508 pc=0x4de225
runtime.newobject(0x0)
        /opt/go/src/runtime/malloc.go:1228 +0x27 fp=0xc00048b5b0 sp=0xc00048b588 pc=0x4deb07
github.com/flynn/hid.openDevice(0xc0008ae000, 0x1)
        /go/src/github.com/gravitational/teleport/vendor/github.com/flynn/hid/hid_windows.go:122 +0xd6 fp=0xc00048b600 sp=0xc00048b5b0 pc=0xeede76
github.com/flynn/hid.ByPath({0xc000897ec0, 0x58})
        /go/src/github.com/gravitational/teleport/vendor/github.com/flynn/hid/hid_windows.go:184 +0xa6 fp=0xc00048b6a0 sp=0xc00048b600 pc=0xeee686
github.com/flynn/hid.getDeviceDetails(0x22c623fffe0, 0xc0007deac0)
        /go/src/github.com/gravitational/teleport/vendor/github.com/flynn/hid/hid_windows.go:177 +0x165 fp=0xc00048b718 sp=0xc00048b6a0 pc=0xeee0a5
github.com/flynn/hid.Devices()
        /go/src/github.com/gravitational/teleport/vendor/github.com/flynn/hid/hid_windows.go:244 +0x157 fp=0xc00048b7d8 sp=0xc00048b718 pc=0xeeefb7
github.com/flynn/u2f/u2fhid.Devices()
        /go/src/github.com/gravitational/teleport/vendor/github.com/flynn/u2f/u2fhid/hid.go:52 +0x1d fp=0xc00048b850 sp=0xc00048b7d8 pc=0xeefe3d
github.com/gravitational/teleport/lib/auth/webauthncli.runOnU2FDevicesOnce(0xc0009619f0, {0xc00009edc0, 0x6, 0x0})
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:95 +0x4d fp=0xc00048b960 sp=0xc00048b850 pc=0xef47ed
github.com/gravitational/teleport/lib/auth/webauthncli.RunOnU2FDevices({0x1fc0a88, 0xc0005bf7c0}, {0xc00009edc0, 0x6, 0x8})
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/u2f.go:76 +0x154 fp=0xc00048bb30 sp=0xc00048b960 pc=0xef4514
github.com/gravitational/teleport/lib/auth/webauthncli.Login({0x1fc0a88, 0xc0005bf7c0}, {0xc00012a180, 0x1f}, 0xc000394420)
        /go/src/github.com/gravitational/teleport/lib/auth/webauthncli/login.go:116 +0x5c5 fp=0xc00048be90 sp=0xc00048bb30 pc=0xef1a85
github.com/gravitational/teleport/lib/client.PromptMFAChallenge.func2()
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:111 +0x1a3 fp=0xc00048bfe0 sp=0xc00048be90 pc=0x17ee4c3
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00048bfe8 sp=0xc00048bfe0 pc=0x53bd81
created by github.com/gravitational/teleport/lib/client.PromptMFAChallenge
        /go/src/github.com/gravitational/teleport/lib/client/mfa.go:109 +0x477

goroutine 39 [syscall]:
runtime.notetsleepg(0x513985, 0x7f12c5)
        /opt/go/src/runtime/lock_sema.go:295 +0x3c fp=0xc000717fa0 sp=0xc000717f58 pc=0x4dd25c
os/signal.signal_recv()
        /opt/go/src/runtime/sigqueue.go:169 +0x98 fp=0xc000717fc0 sp=0xc000717fa0 pc=0x5370d8
os/signal.loop()
        /opt/go/src/os/signal/signal_unix.go:24 +0x19 fp=0xc000717fe0 sp=0xc000717fc0 pc=0xe9cb59
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000717fe8 sp=0xc000717fe0 pc=0x53bd81
created by os/signal.Notify.func1.1
        /opt/go/src/os/signal/signal.go:151 +0x2c

goroutine 28 [chan receive]:
runtime.gopark(0xc000719e60, 0xc000719ec0, 0x13, 0xc7, 0xc000719ec0)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000719e90 sp=0xc000719e70 pc=0x50cc96
runtime.chanrecv(0xc00022c2a0, 0xc000719f90, 0x1)
        /opt/go/src/runtime/chan.go:576 +0x56c fp=0xc000719f20 sp=0xc000719e90 pc=0x4d77ac
runtime.chanrecv1(0xc00022c2a0, 0xc000719fb0)
        /opt/go/src/runtime/chan.go:439 +0x18 fp=0xc000719f48 sp=0xc000719f20 pc=0x4d71d8
main.Run.func2()
        /go/src/github.com/gravitational/teleport/tool/tsh/tsh.go:574 +0xaa fp=0xc000719fe0 sp=0xc000719f48 pc=0x185524a
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000719fe8 sp=0xc000719fe0 pc=0x53bd81
created by main.Run
        /go/src/github.com/gravitational/teleport/tool/tsh/tsh.go:570 +0xb9af

goroutine 16 [IO wait]:
runtime.gopark(0x0, 0xc0001f1198, 0x48, 0x12, 0xc0001f11c8)
        /opt/go/src/runtime/proc.go:366 +0xd6 fp=0xc000a59568 sp=0xc000a59548 pc=0x50cc96
runtime.netpollblock(0x96fe098e1f93cbc8, 0x1f11d8, 0xc0)
        /opt/go/src/runtime/netpoll.go:454 +0xf3 fp=0xc000a595a0 sp=0xc000a59568 pc=0x5028f3
internal/poll.runtime_pollWait(0x22c67a988d8, 0x72)
        /opt/go/src/runtime/netpoll.go:234 +0x89 fp=0xc000a595c0 sp=0xc000a595a0 pc=0x535489
internal/poll.(*pollDesc).wait(0x293, 0x5, 0x0)
        /opt/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 fp=0xc000a595e8 sp=0xc000a595c0 pc=0x5b50f2
internal/poll.execIO(0xc0001f1198, 0x1d7e1f8)
        /opt/go/src/internal/poll/fd_windows.go:175 +0xe5 fp=0xc000a59640 sp=0xc000a595e8 pc=0x5b6725
internal/poll.(*FD).Read(0xc0001f1180, {0xc0006bd300, 0x118a, 0x118a})
        /opt/go/src/internal/poll/fd_windows.go:441 +0x25f fp=0xc000a596d0 sp=0xc000a59640 pc=0x5b753f
net.(*netFD).Read(0xc0001f1180, {0xc0006bd300, 0xc0006bd305, 0x2a3})
        /opt/go/src/net/fd_posix.go:56 +0x29 fp=0xc000a59718 sp=0xc000a596d0 pc=0x620249
net.(*conn).Read(0xc000006180, {0xc0006bd300, 0x6, 0xc0009657f8})
        /opt/go/src/net/net.go:183 +0x45 fp=0xc000a59760 sp=0xc000a59718 pc=0x631745
net.(*TCPConn).Read(0xc000006180, {0xc0006bd300, 0x7fffde007fffdd, 0x10000df00ffffeb})
        <autogenerated>:1 +0x2e fp=0xc000a59790 sp=0xc000a59760 pc=0x63eeae
crypto/tls.(*atLeastReader).Read(0xc0001161b0, {0xc0006bd300, 0x0, 0x4db36d})
        /opt/go/src/crypto/tls/conn.go:777 +0x3d fp=0xc000a597d8 sp=0xc000a59790 pc=0x6fb45d
bytes.(*Buffer).ReadFrom(0xc0005d5078, {0x1f867e0, 0xc0001161b0})
        /opt/go/src/bytes/buffer.go:204 +0x98 fp=0xc000a59830 sp=0xc000a597d8 pc=0x5df6f8
crypto/tls.(*Conn).readFromUntil(0xc0005d4e00, {0x22c67a989c0, 0xc000006180}, 0x118a)
        /opt/go/src/crypto/tls/conn.go:799 +0xe5 fp=0xc000a59870 sp=0xc000a59830 pc=0x6fb645
crypto/tls.(*Conn).readRecordOrCCS(0xc0005d4e00, 0x0)
        /opt/go/src/crypto/tls/conn.go:606 +0x112 fp=0xc000a59c18 sp=0xc000a59870 pc=0x6f8cb2
crypto/tls.(*Conn).readRecord(...)
        /opt/go/src/crypto/tls/conn.go:574
crypto/tls.(*Conn).Read(0xc0005d4e00, {0xc0001da000, 0x1000, 0xc000216b60})
        /opt/go/src/crypto/tls/conn.go:1277 +0x16f fp=0xc000a59c88 sp=0xc000a59c18 pc=0x6fe54f
bufio.(*Reader).Read(0xc000394ea0, {0xc000368038, 0x9, 0xc0003942a0})
        /opt/go/src/bufio/bufio.go:227 +0x1b4 fp=0xc000a59cc0 sp=0xc000a59c88 pc=0x734f54
io.ReadAtLeast({0x1f86600, 0xc000394ea0}, {0xc000368038, 0x9, 0x9}, 0x9)
        /opt/go/src/io/io.go:328 +0x9a fp=0xc000a59d08 sp=0xc000a59cc0 pc=0x54a5fa
io.ReadFull(...)
        /opt/go/src/io/io.go:347
net/http.http2readFrameHeader({0xc000368038, 0x9, 0xc00080c1e0}, {0x1f86600, 0xc000394ea0})
        /opt/go/src/net/http/h2_bundle.go:1555 +0x6e fp=0xc000a59d58 sp=0xc000a59d08 pc=0x77384e
net/http.(*http2Framer).ReadFrame(0xc000368000)
        /opt/go/src/net/http/h2_bundle.go:1813 +0x95 fp=0xc000a59e00 sp=0xc000a59d58 pc=0x773f95
net/http.(*http2clientConnReadLoop).run(0xc000a59f98)
        /opt/go/src/net/http/h2_bundle.go:8583 +0x130 fp=0xc000a59f60 sp=0xc000a59e00 pc=0x793f90
net/http.(*http2ClientConn).readLoop(0xc0001f6900)
        /opt/go/src/net/http/h2_bundle.go:8506 +0x6f fp=0xc000a59fc8 sp=0xc000a59f60 pc=0x79362f
net/http.(*http2Transport).newClientConn·dwrap·38()
        /opt/go/src/net/http/h2_bundle.go:7317 +0x26 fp=0xc000a59fe0 sp=0xc000a59fc8 pc=0x78c826
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000a59fe8 sp=0xc000a59fe0 pc=0x53bd81
created by net/http.(*http2Transport).newClientConn
        /opt/go/src/net/http/h2_bundle.go:7317 +0xb85

goroutine 48 [syscall]:
runtime.cgocall(0x1866420, 0xc000277ef0)
        /opt/go/src/runtime/cgocall.go:156 +0x4a fp=0xc000277ec8 sp=0xc000277e90 pc=0x4d45ea
github.com/flynn/hid._Cfunc_WaitForSingleObject(0x5e8, 0xffffffff)
        _cgo_gotypes.go:500 +0x5a fp=0xc000277ef0 sp=0xc000277ec8 pc=0xeed55a
github.com/flynn/hid.(*winDevice).readThread.func2(0x0)
        /go/src/github.com/gravitational/teleport/vendor/github.com/flynn/hid/hid_windows.go:299 +0x47 fp=0xc000277f28 sp=0xc000277ef0 pc=0xeefaa7
github.com/flynn/hid.(*winDevice).readThread(0xc00020c8c0)
        /go/src/github.com/gravitational/teleport/vendor/github.com/flynn/hid/hid_windows.go:299 +0x105 fp=0xc000277fc8 sp=0xc000277f28 pc=0xeef685
github.com/flynn/hid.(*winDevice).ReadCh.func1·dwrap·2()
        /go/src/github.com/gravitational/teleport/vendor/github.com/flynn/hid/hid_windows.go:273 +0x26 fp=0xc000277fe0 sp=0xc000277fc8 pc=0xeef526
runtime.goexit()
        /opt/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc000277fe8 sp=0xc000277fe0 pc=0x53bd81
created by github.com/flynn/hid.(*winDevice).ReadCh.func1
        /go/src/github.com/gravitational/teleport/vendor/github.com/flynn/hid/hid_windows.go:273 +0x93

C:\Users\Gus>

Server Details

  • Teleport version (run teleport version): Teleport Enterprise v8.0.0 git:v8.0.0-0-g6720c97e9 go1.17.3
  • Server OS (e.g. from /etc/os-release): Ubuntu 20.04.3
  • Where are you running Teleport? (e.g. AWS, GCP, Dedicated Hardware): Raspberry Pi

Client Details

  • Tsh version (tsh version): Teleport v8.0.0 git:v8.0.0-0-g6720c97e9 go1.17.3
  • Computer OS (e.g. Linux, macOS, Windows): Windows 10 20H2 build 19042.1288
@webvictim webvictim added bug windows ux mfa Issues related to Multi Factor Authentication labels Nov 19, 2021
@codingllama
Copy link
Contributor

Hey Gus, thanks for the detailed report.

tsh doesn't support hardware tokens on Windows (it seems like it never did?). See the "Windows support" notice in the links below:

It seems that we could probably do better in terms of UX - say, emitting a warning in tsh instead of letting the user attempt a hopeless workflow. Does that sound reasonable?

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 tsh mfa support for Windows as well.

@webvictim
Copy link
Contributor Author

webvictim commented Nov 19, 2021

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.

@andrewaeva
Copy link

andrewaeva commented Nov 26, 2021

Hi @codingllama, can you check this signal11/hidapi#231 and psmoveservice/hidapi@38681c7?
Seems like just one line fix.
shareMode := uint32(syscall.FILE_SHARE_READ | syscall.FILE_SHARE_WRITE)

@codingllama
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mfa Issues related to Multi Factor Authentication ux windows
Projects
None yet
Development

No branches or pull requests

3 participants