#27 Debian FDE w/ luks2 broken in 20210522

开启中
larbob3 年之前创建 · 4 条评论
larbob 评论于 3 年之前

Following the Libreboot guide to setup Debian FDE does not result in a working install w/ Debian 10+ as luks2 is used. After cryptsetup -a is run, grub will ask for the passphrase, but instantly give an error that it is incorrect. Downgrading from luks2 to luks1 worked around the issue and the disk was able to be mounted.

Following the Libreboot guide to setup Debian FDE does not result in a working install w/ Debian 10+ as luks2 is used. After `cryptsetup -a` is run, grub will ask for the passphrase, but instantly give an error that it is incorrect. Downgrading from luks2 to luks1 worked around the issue and the disk was able to be mounted.
Leah Rowe 评论于 3 年之前
所有者

yes, grub luks2 is still broken. technically not an issue, just need to update the documentation to reflect this. i will do so

yes, grub luks2 is still broken. technically not an issue, just need to update the documentation to reflect this. i will do so
vimuser3 年之前 关闭
vimuser2 年之前 重新开启

Please see the docs for more information.

In short:

Actually, its only the PBKDF2 key derivation function supported. Standard luks2 key derivation function is Argon2i.

Solution:

  1. change from Argon2i to PBKDF2
  2. or use luks1...
Please see the [docs](https://libreboot.org/docs/gnulinux/encrypted_debian.html#luksv2) for more information. In short: Actually, its only the PBKDF2 key derivation function supported. Standard luks2 key derivation function is Argon2i. Solution: 1. change from Argon2i to PBKDF2 2. or use luks1...
Leah Rowe 评论于 1 年之前
所有者

still broken, but there are patches dotted about the internet. i have this on todo to fix.

still broken, but there are patches dotted about the internet. i have this on todo to fix.

I think you mean patches to use the Argon2i key derivation function in luks2 ? Can you say why do you removed the hint to change only the key derivation? You don't need downgrade to luks1.

I think you mean patches to use the Argon2i key derivation function in luks2 ? Can you say why do you removed the hint to change only the key derivation? You don't need downgrade to luks1.
登录 并参与到对话中。
未选择标签
未选择里程碑
未指派成员
3 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。