Following the instructions in "administering file vault 2 with casper suite", I created a package to assign a recovery key to our imaged workstations. After imaging my test box I activated the encryption manually and was presented with the message stating that the key had been assigned and merrily encrypted the drive.
Before making this production I decided to unlock/decrypt the drive by booting from a USB drive with our imaging image and using the FileVaultMaster.keychain (the one with the private key intact). Unfortunately this is what I receive:
CasperIMG:users root# security unlock-keychain /Key/FileVaultMaster.keychain
password to unlock /Key/FileVaultMaster.keychain:
CasperIMG:users root# diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 0896F511-CDA6-4838-B9D1-83C4F71400A5
=========================================================
Name: Macintosh HD
Sequence: 1
Free Space: 0 B (0 B)
|
+-< Physical Volume 6230B252-3CA1-402E-923C-0B3DF7EA949F
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 318913785856 B (318.9 GB)
|
+-> Logical Volume Family CEF36BD0-5CE1-4889-90F3-EDCA3D5BC64A
----------------------------------------------------------
Sequence: 12
Encryption Status: Locked
Encryption Type: AES-XTS
Encryption Context: Present
Conversion Status: Complete
Has Encrypted Extents: Yes
Conversion Direction: -none-
|
+-> Logical Volume DB674091-7629-450B-BE63-27C21648978D
---------------------------------------------------
Disk: -none-
Status: Locked
Sequence: 4
Size (Total): 318595014656 B (318.6 GB)
Size (Converted): -none-
Revertible: Yes (unlock and decryption required)
LV Name: Macintosh HD
Content Hint: Apple_HFS
CasperIMG:users root# diskutil cs unlockVolume DB674091-7629-450B-BE63-27C21648978D -recoveryKeychain /Key/FileVaultMaster.keychain
Started CoreStorage operation
Error: -69749: Unable to unlock the Core Storage volume
CasperIMG:users root#
I know for a fact the FileVaultMaster.keychain has the private key. Ideas?