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

Doesn't work anymore after upgrading WSL to 22.04 #28

Closed
yourfate opened this issue Aug 8, 2022 · 1 comment
Closed

Doesn't work anymore after upgrading WSL to 22.04 #28

yourfate opened this issue Aug 8, 2022 · 1 comment

Comments

@yourfate
Copy link

yourfate commented Aug 8, 2022

I upgraded my WSL to ubuntu 22.04, then recompiled the current master branch of this project. I now get this error when trying to connect:

Confirm user presence for key ED25519-SK SHA256:CENSORED-ID
debug1: start_helper: starting /usr/lib/openssh/ssh-sk-helper
debug1: process_sign: ready to sign with key ED25519-SK, provider /usr/local/lib/libwindowsfidobridge.so: msg len 270, compat 0x4000000
debug1: sshsk_sign: provider "/usr/local/lib/libwindowsfidobridge.so", key ED25519-SK, flags 0x21
debug1: sshsk_open: provider /usr/local/lib/libwindowsfidobridge.so implements version 0x00070000
Provider "/usr/local/lib/libwindowsfidobridge.so" implements unsupported version 0x00070000 (supported: 0x00090000)
debug1: ssh-sk-helper: Signing failed: invalid format
debug1: main: reply len 8
debug1: client_converse: helper returned error -4
debug1: identity_sign: sshkey_sign: invalid format

It seems the problem is the protocol version, see this line: Provider "/usr/local/lib/libwindowsfidobridge.so" implements unsupported version 0x00070000 (supported: 0x00090000)

The ssh version is OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022

@yourfate
Copy link
Author

yourfate commented Aug 8, 2022

Oops, I found this part of the readme:

SK_API_VERSION: The version of the OpenSSH security key API to target. The following versions are required to use with their respective OpenSSH versions:

5: OpenSSH 8.3
7: OpenSSH 8.4 (default)
9: OpenSSH 8.9

Re-building now to see if it fixes it.

EDIT:

yes, adding -DSK_API_VERSION=9 to the cmake call fixed it. Can be closed.

@yourfate yourfate closed this as completed Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant