For visual outputs, connect an LED to GPIO 16.
Install Raspberry Pi OS Lite on the Raspberry Pi. (Lite is preferred for faster boot time).
You should be able to access the RPi Terminal with a keyboard + screen or via SSH.
- Install Git
sudo apt-get update
sudo apt-get install git
-
Get this repository URL
Click on the Green
<> Codebutton on this page and copy the URL -
Clone this repository
git clone <Repository URL>
git clone https://github.com/AdityaMitra5102/RPi-FIDO2-Security-Key.git
-
Go into the folder
Use
cdto go into the folder you just clonedcd RPi-FIDO2-Security-Key -
Make the installer executable
sudo chmod +x installer.sh
- Run the installer as root
sudo ./installer.sh
- Wait till the system reboots.
The RPi will now behave like a security key. Connect the RPi to the PC via the USB C port.
The device ideally draws around 4w (5v, 800 mA). Normal laptops or phones (without Thunderbolt) may not be able to provide this amount. Hence, it is recommended to power the device via GPIO pins or POE if you notice the device being unable to boot up or frequently shutting down.

