qemu board doc: add Nitrokey3NFC in md doc

This commit is contained in:
Thierry Laurion 2023-10-10 12:30:41 -04:00
parent 65e5286b5a
commit 9addb3b6b0
No known key found for this signature in database
GPG Key ID: E7B4A71658E36A93

View File

@ -32,6 +32,7 @@ Bootstrapping a working system
* For `<token>`, use one of: * For `<token>`, use one of:
* `NitrokeyPro` - a Nitrokey Pro by VID/PID * `NitrokeyPro` - a Nitrokey Pro by VID/PID
* `NitrokeyStorage` - a Nitrokey Storage by VID/PID * `NitrokeyStorage` - a Nitrokey Storage by VID/PID
* `Nitrokey3NFC` - a Nitrokey 3 by VID:PID
* `LibremKey` - a Librem Key by VID/PID * `LibremKey` - a Librem Key by VID/PID
* `hostbus=#,hostport=#` - indicate a host bus and port (see qemu usb-host) * `hostbus=#,hostport=#` - indicate a host bus and port (see qemu usb-host)
* `vendorid=#,productid=#` - indicate a device by VID/PID (decimal, see qemu usb-host) * `vendorid=#,productid=#` - indicate a device by VID/PID (decimal, see qemu usb-host)
@ -40,7 +41,7 @@ Bootstrapping a working system
* Then Heads will indicate that there is no TOTP code yet, at this point shut down (Continue to main menu -> Power off) * Then Heads will indicate that there is no TOTP code yet, at this point shut down (Continue to main menu -> Power off)
5. Get the public key that was saved to the virtual USB flash drive 5. Get the public key that was saved to the virtual USB flash drive
* `sudo mkdir /media/fd_heads_gpg` * `sudo mkdir /media/fd_heads_gpg`
* `sudo mount ./build/qemu-coreboot-fbwhiptail-tpm1-hotp/usb_fd.raw /media/fd_heads_gpg` * `sudo mount ./build/x86/qemu-coreboot-fbwhiptail-tpm1-hotp/usb_fd.raw /media/fd_heads_gpg`
* Look in `/media/fd_heads_gpg` and copy the most recent public key * Look in `/media/fd_heads_gpg` and copy the most recent public key
* `sudo umount /media/fd_heads_gpg` * `sudo umount /media/fd_heads_gpg`
6. Inject the GPG key into the Heads image and run again 6. Inject the GPG key into the Heads image and run again