-
Notifications
You must be signed in to change notification settings - Fork 67
Stopped working Pageant query error 'WM_COPYDATA failed' #25
Comments
Is your setup to use putty for SSH-Keys? |
No putty isnt used as far as I know. Only Chance would be a long forgoten install. I will double check that. |
Just checked. Putty is installed but it is 0.74. Would uninstalling it likely do the trick? |
I'm quoting from #24 to confirm another theory of mine:
I just updated my gpg4win version to confirm it's not a regression by the latest gpg4win version. Did you check that the putty-agent support is still enabled within gpg? Edit:
|
Shouldn't make a difference if the pageant is not running. Maybe it's worth uninstalling to confirm it's not causing troubles. |
My gpg-agent.conf on windows currently looks like this:
I also removed putty now. But it seems the issue stays. Even after doing the steps in troubleshooting and restarting wsl2 :) |
PS: gpg --card-status does show the card just fine on wsl2 |
The communication for GPG and SSH is a completely different. GPG is using the named pipe from the GPG-Agent whereas the SSH-Support uses the communication with the window handle from a window called pageant. Putty started to implement a named pipe communication in version 0.75. Could you tell me if your windows 11 is a clean install or an upgrade? |
It is an upgrade from windows 10. |
Can you extract your gpg4win version? By the looks of your error the wsl2-ssh-pageant utility is unable to send the data to the pageant window handle. The Windows docs state that the only way this can fail is, when the receiver is unable to process the data.
|
Gpg4win version is 3.1.15 |
Thanks for the information. I just replaced my gpg version with 3.1.15 and can't reproduce the issue. Can you verify that some windows application using the gpg-ssh-pageant support is working? For e.g. putty itself? |
Hm how do I test that? :) |
You could use putty or antoher putty compatible app for that. I've always used putty for a simple test case. |
Describe the bug
The gpg side of things is working fine. however I keep getting ssh-add -L: connection refused.
in the verbose log I am seeing this:
To Reproduce
Steps to reproduce the behavior:
Unsure how. I just installed it normally and ran
ssh-add -L
Expected behavior
ssh-add -L
should show me my key just like the winssh one doesDesktop (please complete the following information):
The text was updated successfully, but these errors were encountered: