| Summary: | grub не расшифровывает luks раздел после изменения его пароля | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Альт Рабочая станция K | Reporter: | Sergey Ivanov <zagagyka> | ||||||
| Component: | Ошибки работы | Assignee: | Sergey V Turchin <zerg> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | qa-p8 <qa-p8> | ||||||
| Severity: | normal | ||||||||
| Priority: | P5 | CC: | egori | ||||||
| Version: | 11.0 | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Attachments: |
|
||||||||
|
Description
Sergey Ivanov
2025-05-15 12:06:46 MSK
Created attachment 18455 [details]
grub luks error screenshot
Grub не поддерживает argon2 pbkdf: https://www.gnu.org/software/grub/manual/grub/grub.html#cryptomount Для поддержки в grub, у cryptsetup нужно указывать `--pbkdf pbkdf2` (Ответ для Egor Ignatov на комментарий #2) > Для поддержки в grub, у cryptsetup нужно указывать `--pbkdf pbkdf2` Почему на live работает без этого? В самом grub автоматики не хватает? (In reply to Sergey V Turchin from comment #3) > (Ответ для Egor Ignatov на комментарий #2) > > Для поддержки в grub, у cryptsetup нужно указывать `--pbkdf pbkdf2` > Почему на live работает без этого? В самом grub автоматики не хватает? Не понял что именно работает на live. В grub на данный момент нет поддержки argon2 совсем: https://savannah.gnu.org/bugs/index.php?55093 А также: https://git.savannah.gnu.org/cgit/grub.git/commit/?id=365e0cc3e7e44151c14dd29514c2f870b49f9755 >Note though that in the current version, only the PBKDF2 key derival function is >supported. This can mostly attributed to the fact that the libgcrypt library >currently has no support for either Argon2i or Argon2id, which are the remaining >KDFs supported by LUKS2. It wouldn't have been much of a problem to bundle those >algorithms with GRUB itself, but it was decided against that in order to keep >down the number of patches required for initial LUKS2 support. Adding it in the >future would be trivial, given that the code structure is already in place. |