-
Notifications
You must be signed in to change notification settings - Fork 38
Description
I'd like to help contribute to this issue and it just so happens I have a drive that gets the dreaded "Unable to unlock source volume" error of #34 and #41 fame. I'm not sure what the issue is, but I see that it does have a section 0x0505 and it only has one physical and one logical volume. Below is the output of fvdeinfo and the debug log from fvdemount.
fvdeinfo 20220125
Logical volume: 1 is locked and a password is needed to unlock it.
Password:
Unable to unlock volume.
Core Storage information:
Logical volume group:
Identifier : ef237066-fea3-4327-8c8a-11735a2b05ad
Name : South America
Number of physical volumes : 1
Number of logical volumes : 1
Physical volume: 1
Identifier : 16a74bae-2148-458f-9168-0baf6c756509
Size : 3.4 TiB (3800274411520 bytes)
Encryption method : AES-XTS 128-bit
Logical volume: 1
Identifier : ec33f8f9-8e80-4e08-8296-46a7be62ad6a
Name : South America
Size : 3.4 TiB (3799903109120 bytes)
Is locked
Based on the "invalid logical volume - volume is locked" message, it looks like I'm hitting this in libfvde_internal_logical_volume_read_buffer_from_file_io_pool, or this in libfvde_internal_logical_volume_seek_offset. This just looks like a symptom though, and I'm not familiar enough with the code base to figure out the root cause.
If you can point me in the right direction, I can investigate by looking at hex offsets and matching them up to the code and slides linked to in the README file. The quantity of debug information is just a bit overwhelming for me, as I'm just picking up Apple Core Storage and FileVault tonight.
Originally posted by @anon8675309 in #2 (comment)