agherzan / yubikey-full-disk-encryption

Use YubiKey to unlock a LUKS partition
Apache License 2.0
795 stars 50 forks source link

Hash password with sha256 #13

Closed Vincent43 closed 6 years ago

Vincent43 commented 6 years ago

Using password as challenge can have some drawbacks:

As solution we can hash the password with sha256 which give us 64 characters (maximum) length challenge for any user provided password.

In result we have 104 (64+40) characters long LUKS passphrase