benpye / wsl-ssh-pageant

A Pageant -> TCP bridge for use with WSL, allowing for Pageant to be used as an ssh-ageant within the WSL environment.
BSD 2-Clause "Simplified" License
612 stars 40 forks source link

Add an error message if the HWND user is not the same as the current user. #22

Open benpye opened 5 years ago

benpye commented 5 years ago

Came across this yesterday. If a user inadvertently runs gpg-agent/Pageant as another user (Administrator) then wsl-ssh-pageant will be able to get the window handle, it will fail sending the WM_COPYDATA message. It would be nice to check the user of the window to give some idea what's going on.