TPM2+PIN Encryption Schemes: Evaluating and Enhancing Security
TL;DR: Analyzing vulnerabilities in TPM2+PIN schemes and walking through an implementation for systemd-cryptenroll, ensuring a security profile that is no less robust than traditional password-based schemes.
Why TPM-based encryption? Encrypted disks are usually protected with passwords or passphrases. Assuming a truly random password of sufficient length is used and stretched by the encryption software, using a memory-hard KDF like Argon2, chances of anyone successfully performing a brute-force attack are virtually hopeless under most circumstances. Unfortunately, humans are poor at generating randomness, and because passwords created by humans are never as clever as they seem, most passwords end up being weak.1
fuldeka