gns3-gui icon indicating copy to clipboard operation
gns3-gui copied to clipboard

Password prompt for VMware TPM vms

Open jjcortes22 opened this issue 1 year ago • 3 comments

GNS3 Version: GNS3 v2.2.46 Operating System: Linux

Good day,

I am using Workstation PRO for all my VMs, I have created a VM with Windows 10 and enabled TPM:

-Enabled encryption and created a password -Added TMP module under hardware -The VM is imported into GNS3, open new project and drag the VM to the topology.

The VM wont start when click in play, however when I start GNS3 Via CLI "gns3", and I click play in this VM, the CLI prompts for the TPM password:

sada

Once I supply the TPM password, the vm boots fine, the passwords is asked again to power off the vm.

Can I add somewhere in the config of the VM the TPM password so I dont have to start GNS3 using the CLI?, Or can a "TPM password" field be added inside the VMware VM?

If a parameter already exist to add the password for this node, can I please have it?

Thank you!

jjcortes22 avatar Mar 19 '24 19:03 jjcortes22

Thank you!!!!!! <3

jjcortes22 avatar May 08 '24 22:05 jjcortes22

I am a bit concerned about handling VM passwords. Should we ask the password the first time a VM is started and not store anything or should we store VM passwords in a secured way locally on the GNS3 server?

grossmj avatar May 09 '24 14:05 grossmj

Hi, Good question, either let the password be stored in the vm config under settings, or, send a pop up when the machine is powered on. I think the pop up would make it easier, and a check to "remember password". A "Clear password" button can also be added in the vm settings, in case the password has changed. Can the CLI password prompt be redirected to a pop up? Gracias!

jjcortes22 avatar May 09 '24 16:05 jjcortes22