-
Notifications
You must be signed in to change notification settings - Fork 6
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
Server crashes with "failed to fill whole buffer" when attaching kernel module #6
Comments
Using Rust 1.76.0-nightly, running on Linux 6.2.0. |
Could you try the |
Hm, with the
While this happens, there's no additional output from the server, i.e:
|
This could be permission problem. You must run |
Ah yes, my bad. Running However I'm not getting any popup when testing at on Yubico's test page or webauthn.io. Tested with Firefox 119 and Chromium 120, but they both just ask me to push my security key. Is the softfido server supposed to pop something up? I have the following udev rule:
Have rebooted my laptop since I added that, so it should be in effect. Do you know where below the /sys/class/hidraw directory the actual virtual USB device is, if I want to confirm permissions are set correctly by udev? Thanks 🙏 |
I just discovered that
Yes, a dialog asking for "consent" should pop up.
For me
The one with
|
Thanks, hm, I pulled latest
During step (7), no further output is shown from softfido server besides what's shown above. |
Hmm, the line
I added a |
Alright, thanks. I pulled latest During startup, the server now additionally prints:
When attaching the kernel module, the server prints:
But when visiting https://demo.yubico.com/webauthn-technical/registration in Firefox 119 and pressing Next, Firefox prompts me to push my security key, but there is no output from the softfido server. Thanks, understood it is hard to debug this without hands-on access. I may have some time to look closer at it during holidays. Alright with me to close the issue if you want, since with the Let me know if you need to know any sw versions besides the kernel and Rust. |
If you don't mind installing the Python libraries, you coud also try the tests in the python directory. This might give more useful error messages than Firefox. For that you need to install the fido2 library version 1.1 or so; version 0.9 no longer works. To install the dependencies I did something like:
Or run just a single test with
|
@ellerh Hey, I tried following the instructions in the README, but when attaching the kernel module to the server with
usbip attach -r 127.0.0.1 -d 1-1
the server crashes with:Running with
RUST_BACKTRACE=full
, the backtrace is:The text was updated successfully, but these errors were encountered: