DaanHoogland commented on issue #2982: Why are passwords encrypted with the SSH 
public key?
URL: https://github.com/apache/cloudstack/issues/2982#issuecomment-434199993
 
 
   Good question @Overv , obviously someone considered it a piece of sensitive 
information, but I have no idea why. I actually think it is never used again 
for userVMs except maybe during initial boot, to configure the new VM with it. 
I see no link to the ssh public key but this 
(https://github.com/apache/cloudstack/blob/master/server/src/main/java/com/cloud/vm/UserVmManagerImpl.java#L4460)
 is where the password is decrypted. Have a look at the config drive code to 
see where it is decrypted, if this doesn't answer your question.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to