This seems to be a repeat of PR 196754. To test it, just access
https://demo.yubico.com/webauthn-technical/registration and click "Next".
Seems like a null pointer:
(gdb) x/10i $rip
=> 0x517df60: mov (%rsi),%rax
0x517df63: mov %r14,%rdi
0x517df66: mov %rbx,%rdx
0x517df69: callq *0x20(%rax)
0x517df6c: mov %r14,%rax
0x517df6f: pop %rbx
0x517df70: pop %r14
0x517df72: pop %rbp
(gdb) p $rsi
$1 = 0
Without debug symbol it's hard to get deeper.
I'll take a look
Created attachment 216649 [details]
This patch fixes the crash and make U2F functional. There is an issue
with repeated access: if you try to perform two operations in row the
second one fails. Re-try then succeeds. I'm not sure if it's a new
problem or pre-existing issue with FreeBSD's HID implementation and
will take look later.
Adding firstname.lastname@example.org. Can port committers on that list take a look at the patch and commit it? I don't have ports commit bit.
Same issue, patch works, thanks!