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

fido_id: try report_descriptor from the actual device #29294

Closed
wants to merge 1 commit into from

Conversation

abbra
Copy link

@abbra abbra commented Sep 24, 2023

Fixes: #29278

Fixes: systemd#29278

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
@github-actions github-actions bot added udev please-review PR is ready for (re-)review by a maintainer labels Sep 24, 2023
@@ -93,6 +94,7 @@ static int run(int argc, char **argv) {
if (r < 0)
return log_device_error_errno(device, r, "Failed to get parent HID device: %m");

repeat:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this leaks desc_path, please use a do-while instead with scoped variables

@bluca bluca added reviewed/needs-rework 🔨 PR has been reviewed and needs another round of reworks and removed please-review PR is ready for (re-)review by a maintainer labels Sep 24, 2023
@abbra abbra marked this pull request as draft September 24, 2023 11:00
@abbra
Copy link
Author

abbra commented Sep 24, 2023

I'll turn back to the drawing table, somehow fido_id does not run when some of my tokens are inserted even though hidraw devices created.

@abbra abbra closed this Sep 25, 2023
@github-actions github-actions bot removed the reviewed/needs-rework 🔨 PR has been reviewed and needs another round of reworks label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

fido_id does not recognize Yubikeys, Token2, and Solokeys 2 tokens
2 participants