News for hackers. Stuff that matters.
Re:On-device WebAuthn and what makes it hard to do well by pabs3 on Sunday December 11, 2022 @08:33AM (#33943008)
Which tool are you using for the virtual USB driver? The only one I know about is virtual-fido:

https://github.com/bulwarkid/virtual-fido

Re:On-device WebAuthn and what makes it hard to do well by FreakLegion on Sunday December 11, 2022 @06:43PM (#33948929)
It's been a few years, but the main references I remember using:

1. Windows: https://github.com/frankmorgner/vsmartcard/tree/master/virtu..., which is a fix-up of the older https://www.codeproject.com/Articles/134010/An-UMDF-Driver-f..., and https://github.com/Watfaq/SoftU2F-Win/tree/master/SoftU2FDri.... Note that neither of these actually implement CTAP2.

2. Linux: There's plenty to refer to on HID gadgets, but https://blog.hansenpartnership.com/webauthn-in-linux-with-a-... and the code at https://git.kernel.org/pub/scm/linux/kernel/git/jejb/fido2-c... were my entrypoint and cover the whole idea of WebAuthn in software.

3. Mac: I ended up not implementing a Mac version, but GitHub themselves used to support a CTAP1/U2F software authenticator, now archived at https://github.com/github/SoftU2F. I was going to work from that.

For the service I looked at different software "devices" interfacing with these kinds of drivers (or just the browser directly in Firefox's case).

1. Generic NIST SP 800-73 PIV: https://github.com/CCob/PIVert. Very limited scope, pentest tool with no extraneous features. It uses the BixVReader driver.

2. U2F: Just the corresponding driver repos I think.

3. CTAP2: Firefox Soft Token code, https://github.com/ellerh/softfido, https://github.com/bulwarkid/virtual-fido (the one you found).

Re:On-device WebAuthn and what makes it hard to do well by pabs3 on Sunday December 11, 2022 @08:43PM (#33949877)
Another one for completeness:

https://github.com/psanford/tpm-fido