Decrypt and recover a FileVault-encrypted Mac with APFS
To decrypt and recover the user's FileVault-encrypted Mac:
For a volume formatted as APFS on macOS Mojave 10.14 and higher
To decrypt and recover the user's FileVault-encrypted Mac:
For a volume formatted as APFS on macOS Mojave 10.14 and higher
diskutil apfs list
The volume to recover is the OS Volume. It has a name similar to disk2s1.
diskutil apfs unlockVolume <Diskname> -passphrase <personal recovery key>
The volume is now unlocked.
diskutil apfs listcryptousers <Diskname>
For example:
diskutil apfs listcryptousers disk2s1
For a local user, select the UUID of the user that has Type: Local Open Directory User
diskutil apfs decryptVolume <diskname> -user <user UUID>
diskutil apfs list