mgbowen / windows-fido-bridge

An OpenSSH SK middleware that allows you to use a FIDO/U2F security key (e.g. a YubiKey) to SSH into a remote server from WSL or Cygwin.
Apache License 2.0
114 stars 15 forks source link

Using the bridge on Windows 11 is slow #21

Open timcooijmans opened 2 years ago

timcooijmans commented 2 years ago

Hi,

I'm using the bridge (installed from apt-repository) using the Ubuntu on Windows Community Preview WSL image (basically Ubuntu 21.04) on Windows 11. The good news is that the bridge works. However it takes almost 30-60 seconds after the following log message; Confirm user presence for key ECDSA-SK SHA256:<data-was-here>

Before the pop-up is shown (ignore warning on bottom, that's because I waited too long)

image

Authentication using FIDO2 on Windows is working quickly.

timcooijmans commented 2 years ago

FYI, fixed this issue by moving windowsfidobridge.exe somewhere into /mnt/c/ and symlinking it back to /usr/local/lib/

Neurrone commented 1 year ago

Stumbled upon this issue as well, also affects Windows 10. Not sure why it suddenly started becoming very slow, it was fine when I initially installed this.

Fortunately the solution in the above comment worked for me as well.

japtain-cack commented 1 year ago

This worked for me as well.