CIFRAR tus DATOS en LINUX con LUKS y YUBIKEY (FIDO2) | Nivel Paranoico
GUÍA DEFINITIVA: CIFRADO LUKS2 CON YUBIKEY (FIDO2) EN DEBIAN 13 En este tutorial aprenderás a elevar la seguridad de tus datos al "nivel paranoico" utilizando LUKS2 y autenticación por hardware con YubiKey. Veremos cómo configurar volúmenes cifrados utilizando el estándar moderno FIDO2 a través de systemd-cryptenroll. Enlace al material en YouTube: 👉 https://youtu.be/2x6PLFOR9jQ 1. INSTALACIÓN DE PAQUETES ESENCIALES Primero, instalamos las herramientas necesarias en Debian 13 para gestionar FIDO2 y la YubiKey: Terminal sudo apt update && sudo apt install -y systemd-cryptsetup fido2-tools yubikey-manager yubikey-luks ESCENARIO A: CIFRADO CON ARCHIVO CLAVE (KEYFILE) + YUBIKEY PASO 1: CREAR EL ARCHIVO CLAVE (KEYFILE) Generamos un archivo con 4KB de datos aleatorios: Terminal sudo dd if=/dev/urandom of=/home/haymetk/fichero.bin bs=1024 count=4 PASO 2: CREAR EL CONTENEDOR (IMAGEN DE DISCO) Creamos un archivo de 2GB que actuará como nuestro volumen cif...