Open tristan-k opened 9 years ago
It's an interesting idea, using an encrypted sparsebundle instead of a FileVault-encrypted secondary drive. I'll look into adding this, though it may be better as a separate project using some of the same code.
I would appreciate that. I also asked at http://apple.stackexchange.com/questions/159421/mount-encrypted-sparseimage-as-home-directory-before-login
There are several ways (loginhook, launchdaemon etc.) to automount a sparsebundle before logging in, but there's none without writing down the password in plaintext for automount an encrypted sparsebundle.
Reading out the password from the keychain requires to unlock it before, therefore it's not possible to automate the process without user action.
Please add support for sparseimages: specifing the $SPARSEBUNDLE_PATH and the $$SPARSEBUNDLE_MOUNT_PATH.
For further informations see: http://apple.stackexchange.com/questions/104770/can-i-mount-an-encrypted-image-before-finder-loads http://techanic.net/2012/10/14/programmatically_mounting_encrypted_disk_images_in_os_x.html