When a VM is started using the GUI, a dialog will open where the user needs to enter all passwords for all encrypted images attached to the VM. If another frontend like VBoxHeadless is used, the VM will be paused as soon as the guest tries to access an encrypted disk. The user needs to provide the passwords through VBoxManage using the following command:
To be implemented properly, this feature should be event-driven (or at least poll on a timer), waiting for the machine to pause and ask for a password and then providing one.
The matter of what to do about handling the machine's password is open, see #25.
VirtualBox 5.0 now supports encrypted virtual disk images, which non-trivially complicates launch of headless VMs:
To be implemented properly, this feature should be event-driven (or at least poll on a timer), waiting for the machine to pause and ask for a password and then providing one.
The matter of what to do about handling the machine's password is open, see #25.