Hi, I just wanted to add that this problem is not specific to LUKS at all. Further investigation showed that on any (virtual) loop partition table (where parted finds a fs directly on disk), ped_partition_get_path returns the wrong partition path. Example: For the device /dev/sda with loop partition table, it returns /dev/sda1 as partition path. But actually, the partition is on /dev/sda, too.
Is there any interest, comment, criticism regarding this issue? Best wishes, Matthias