I'm using VBox 7.0.[46] and wanted to test the new vm encryption feature, I have the extension pack installed but I stumpled over this:
Code: Select all
C:\Users\admin>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" encryptvm myvm setencryption --cipher AES-256 --new-password-id mypassword --new-password -
Enter new password:
0%...VBOX_E_IPRT_ERROR
VBoxManage.exe: error: Failed to encrypt the VM
VBoxManage.exe: error: Couldn't resolve the library path of the crpytographic support module for extension pack 'Oracle VM VirtualBox Extension Pack'
VBoxManage.exe: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component VirtualBoxWrap, interface IVirtualBox
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleSetVMEncryption(struct HandlerArg *,const char *)" at line 1061 of file VBoxManageMisc.cpp
But after looking into the extension pack content and the VBoxSVC.log I found this:
Code: Select all
00:00:46.729716 VM encryption ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={431685da-3618-4ebc-b038-833ba829b4b2} aComponent={ExtPackWrap} aText={Failed to locate the cryptographic module 'VBoxPuelCrypto' in extension pack 'Oracle VM VirtualBox Extension Pack'}, preserve=false aResultDetail=0
Best regards,
Michael
PS: In genereal it would be good, if the command would have exited with the real error message :/