aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/quirks.c
diff options
context:
space:
mode:
authorCésar Belley <cesar.belley@lse.epita.fr>2020-08-26 13:42:03 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-08-31 08:10:47 +0200
commita983b1135f683bf64237fd4860dd8151e5dc4eeb (patch)
tree9db6e4e076d5f265b6c7360b8a3c5e44cd1f956c /hw/usb/quirks.c
parent299976b050bfad5005df81380dfeb2df39bf580c (diff)
downloadqemu-a983b1135f683bf64237fd4860dd8151e5dc4eeb.zip
qemu-a983b1135f683bf64237fd4860dd8151e5dc4eeb.tar.gz
qemu-a983b1135f683bf64237fd4860dd8151e5dc4eeb.tar.bz2
hw/usb: Add U2F key emulated mode
This patch adds the U2F key emulated mode. The emulated mode consists of completely emulating the behavior of a U2F device through software part. Libu2f-emu is used for that. The emulated mode is associated with a device inheriting from u2f-key base. To work, an emulated U2F device must have differents elements which can be given in different ways. This is detailed in docs/u2f.txt. The Ephemeral one is the simplest way to configure, it lets the device generate all the elements it needs for a single use of the lifetime of the device: qemu -usb -device u2f-emulated For more information about libu2f-emu see this page: https://github.com/MattGorko/libu2f-emu. Signed-off-by: César Belley <cesar.belley@lse.epita.fr> Message-id: 20200826114209.28821-7-cesar.belley@lse.epita.fr Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/quirks.c')
0 files changed, 0 insertions, 0 deletions