summary refs log tree commit diff stats
path: root/scripts/u2f-setup-gen.py
diff options
context:
space:
mode:
authorCésar Belley <cesar.belley@lse.epita.fr>2020-08-26 13:42:02 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-08-31 08:10:47 +0200
commit299976b050bfad5005df81380dfeb2df39bf580c (patch)
tree1e740b16af0c47e36845665598b613904cbf4e63 /scripts/u2f-setup-gen.py
parentbb014a810b565dfe14ad3e85175b9ec299105058 (diff)
downloadfocaccia-qemu-299976b050bfad5005df81380dfeb2df39bf580c.tar.gz
focaccia-qemu-299976b050bfad5005df81380dfeb2df39bf580c.zip
hw/usb: Add U2F key passthru mode
This patch adds the U2F key pass-through mode.

The pass-through mode consists of passing all requests made from the
guest to the physical security key connected to the host machine and
vice versa.

In addition, the dedicated pass-through allows to have a U2F security key
shared on several guests which is not possible with a simple host device
assignment pass-through.

The pass-through mode is associated with a device inheriting from
u2f-key base.

To work, it needs the path to a U2F hidraw, obtained from the Qemu
command line, and passed by the user:

    qemu -usb -device u2f-passthru,hidraw=/dev/hidrawX

Autoscan and U2F compatibility checking features are given at the end
of the patch series.

Signed-off-by: César Belley <cesar.belley@lse.epita.fr>
Message-id: 20200826114209.28821-6-cesar.belley@lse.epita.fr
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/u2f-setup-gen.py')
0 files changed, 0 insertions, 0 deletions