Follow-up Comment #3, bug #45889 (project grub):

disk/cryptodisk.c:716: insert 0, source 'hd0,gpt3', id 128, dev_id 0 

That means the test in grub_cryptodisk_get_by_source_disk() will return the
entry for the first unlocked partition on the same disk, even if that disk has
128 (GPT) encrypted partitions.

Looking at include/grub/cryptodisk.h::struct grub_cryptodisk
it seems the issue is the structure has no concept of partitions, and no test
against dev->source string is done (the only place in the structure where the
partition is stored ) but that isn't a good basis for such test if the device
was opened by UUID name.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45889>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to