## Initramfs-tools based systems(Ubuntu and derivatives) For easiest installation [download and install the precompiled deb from releases.](https://github.com/shimunn/fido2luks/releases). However it is possible to build from source via the instructions on the main readme. ``` sudo -s # Insert FIDO key. fido2luks credential # Tap FIDO key # Copy returned string nano /etc/fido2luks.conf # Insert # FIDO2LUKS_CREDENTIAL_ID= set -a . /etc/fido2luks.conf fido2luks -i add-key /dev/ # Current password: # Password: # Tap FIDO key nano /etc/crypttab # Append to end ",discard,initramfs,keyscript=fido2luks" # E.g. sda6_crypt UUID=XXXXXXXXXX none luks,discard,initramfs,keyscript=fido2luks update-initramfs -u ``` [Recording showing part of the setup](https://shimun.net/fido2luks/setup.svg)