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

Update sk-usbhid.c #767

Conversation

michael-dev
Copy link

Using libfido2 with windows://hello results in security key returning no attestation data. This currently fails due to fido_cred_verify_self failing.

According to Yubico/libfido2#840 this is not a bug in libfido2, but openssh instead has to skip the verify call if no attestation is given.

This fixes the issue by skipping attestation verification during key generation if there is no attestation.

Fixes PowerShell/Win32-OpenSSH#2040 and PowerShell/Win32-OpenSSH#2279

Upstreamed in openssh#542, but as this is a windows specific issue, maybe it can be fixed in the PowerShell build faster.

Fix usage of windows://hello security key returning no attestation data.
@tgauth
Copy link
Collaborator

tgauth commented Dec 3, 2024

Thanks for fixing this! Since the upstream PR has been merged, to prevent any unnecessary merge conflicts, we will get this change when we pull from upstream.

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

Successfully merging this pull request may close these issues.

Cannot create ecdsa-sk key with Windows Hello in ssh-keygen
2 participants