Description
YubiKey Full Disk Encryption, called ykfde, unlocks a LUKS encrypted volume with a YubiKey. It uses the YubiKey's HMAC-SHA1 challenge-response mode to create a strong passphrase for the volume. The unlock can run in the initramfs during boot, and it can also be used on a running system. The project offers two modes. In automatic mode, a custom challenge is stored in clear text in /etc/ykfde.conf and inside the initramfs image, and the YubiKey response is produced from that challenge and a secret kept on the token, which gives one factor. In manual mode, the challenge is a secret that you enter, which adds a second factor. The README covers installing from the Arch Linux official repository or from GitHub with makepkg or make, configuring the HMAC-SHA1 slot on the YubiKey, editing the ykfde config file, formatting a new volume, enrolling and killing passphrases, enabling the initramfs hook and the suspend service, and experimental NFC support. The project was tested on Arch Linux and its derivatives with YubiKey 4 or later, and the README points to a similar project for Debian and Ubuntu.…
Highlights
- Unlocks LUKS volumes with a YubiKey HMAC-SHA1 response
- Works in the initramfs at boot and on a running system
- Automatic one-factor mode or manual two-factor mode
- Install from the Arch Linux repository or from source
- Experimental NFC and suspend support
Ratings & Reviews
No ratings yet
Be the first to rate Yubikey Full Disk Encryption.
People also visit
LUKSbox
Store sensitive files in the cloud, or on shared media without trusting the host
Yubioath Flutter
Yubico Authenticator for Desktop (Windows, macOS and Linux) and Android
VaultExplorer
Flutter Android app for accessing VeraCrypt, BitLocker, LUKS, Cryptomator
Yubikey Full Disk Encryption FAQ
What is ykfde?
A tool that uses a YubiKey to unlock LUKS encrypted disks, through the YubiKey's HMAC-SHA1 challenge-response mode.
Who is it for?
Linux users, mainly on Arch Linux or its derivatives, who want a hardware key to unlock an encrypted disk at boot.
What is the difference between the two modes?
Automatic mode uses a stored challenge for one factor. Manual mode uses a secret challenge that you enter, for two factors.
Which YubiKey models are supported?
The README says YubiKey version 4 or later. The project was tested on Arch Linux and its derivatives.
How do I install it?
Install from the official Arch Linux repository, or build it from GitHub with makepkg or make. The README covers the rest of the setup.
What are the best Yubikey Full Disk Encryption alternatives?
Popular alternatives to Yubikey Full Disk Encryption include LUKSbox, YubiKey-Guide and Yubioath Flutter. See all Yubikey Full Disk Encryption alternatives

