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
Key enrollment failed: invalid format #125
Comments
This is how DMESG shows my Yubico Key...
|
Hi, The middleware shipped with libfido2 1.3.0 is not compatible with OpenSSH 8.2. Please use the middleware included in OpenSSH 8.2 instead: https://www.openssh.com/txt/release-8.2 -p. |
I really wish you wouldn't close this so quickly and allow for some discussion. According to the release notes for SSH 8.2, your libfido2 still needs to be installed.
|
Hi, No worries; I don't mean to end the discussion - please feel free to reach out, always. Your understanding is correct; libfido2 is still needed. The middleware, however, lives with OpenSSH itself, and is no longer part of libfido2:
|
OK so I did build OpenSSH correctly with the --with-security-key-builtin configure switch :) I probably need to open an issue with OpenSSH github now. Not sure if Yubikey 4 is supported or not.
|
Do you have the FIDO/U2F interface enabled on your Yubikey 4? You can check that with 'ykman info'. |
Looks like I do have it enabled, but FIDO2 is not.
|
Then it should work. When you installed libfido2, did you get the accompanying |
Looks like it should work. Maybe I need to update my YK firmware?
|
Strange; that triggers the same code path as OpenSSH. Does FIDO_DEBUG=1 fido2-token -I /dev/hidraw4 work as well? |
Looks like it might
|
Ya know what? Its working now.
So many thanks for the assist. Now to figure out how to push this to my bosses for approval. |
Glad to hear! Did you change anything? |
Nope, I think I was missing a library and when I installed ykman it pulled in the missing pieces. I'm betting it was libu2f-udev. |
Oh, right. You were missing the udev files. :) My bad. |
Help me out please $ ssh-keygen -vvvv -t ecdsa-sk |
Hi @M-A-K-K, What OS are you using? What version of SSH and libfido2 are you using? Does |
I use windows |
hey i am getting key enrollment failed device not found , can anyone help me with that |
Ubuntu 18.04
OpenSSH 8.2p1
libfido2 commit 5efee15
The above happens fast. No time to push the button my key.
The text was updated successfully, but these errors were encountered: