11 Dec
2009
11 Dec
'09
1:10 p.m.
Hi everybody I want to use launchd to mount an encrypted dmg image which contains my home directory (AES 256 - enterprise encryption guidelines ) and other directories i want to encrypt like /tmp, etc ... Therefore i created a launchd.plist which starts hdiutils to attach the image. To be able to enter the password, i directed stdin, stderr and stdout to /dev/console. Furthermore i modified com.apple.loginwindow.plist to wait until the image is mounted. Everything seems to work but after I logged in, the images isn't mounted anymore. Does anyone has an idea how to solve this problem ? By the way, which key derivation algorithm is used to derive the encryption key from the password. Kind regards Thomas Fritz