Loop until overflow - RDP identification changed
When i was trying to add new remote desktop connection in boxes the Boxes crashing everytime. Terminal output shows key verification error over and over in an endless loop. After this the segmentation fault error occurs and the boxes crashing. I don't know if this is a bug in freerdp or in boxes but i think it should be addressed in boxes to.
Possible solution would be to show dialog for user or some error information.
Gnome-Boxes version: 3.32.0.2-stable OS: Kubuntu 19.04, freshly updated
Terminal output (truncated to last lines of error):
[14:08:15:925] [31312:31340] [ERROR][com.freerdp.crypto] - The host key for xxx.xxx.xx.xx:3389 has changed [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - Someone could be eavesdropping on you right now (man-in-the-middle attack)! [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - It is also possible that a host key has just been changed. [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - The fingerprint for the host key sent by the remote host is 6c:dc:92:d1:69:b7:90:52:27:2c:33:79:37:0a:ea:85:91:e6:9d:1d [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - Please contact your system administrator. [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - Add correct host key in /home/over/.config/freerdp/known_hosts2 to get rid of this message. [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - Host key for xxx.xxx.xx.xx has changed and you have requested strict checking. [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - Host key verification failed. [14:08:15:926] [31312:31340] [ERROR][com.freerdp.crypto] - certificate not trusted, aborting. [14:08:15:926] [31312:31340] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_CONNECT_CANCELLED [0x0002000B] [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - The host key for xxx.xxx.xx.xx:3389 has changed [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - Someone could be eavesdropping on you right now (man-in-the-middle attack)! [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - It is also possible that a host key has just been changed. [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - The fingerprint for the host key sent by the remote host is 6c:dc:92:d1:69:b7:90:52:27:2c:33:79:37:0a:ea:85:91:e6:9d:1d [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - Please contact your system administrator. [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - Add correct host key in /home/over/.config/freerdp/known_hosts2 to get rid of this message. [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - Host key for xxx.xxx.xx.xx has changed and you have requested strict checking. [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - Host key verification failed. [14:08:15:949] [31312:31340] [ERROR][com.freerdp.crypto] - certificate not trusted, aborting. [14:08:15:949] [31312:31340] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_CONNECT_CANCELLED [0x0002000B] [14:08:15:970] [31312:31340] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_CONNECT_FAILED [0x00020006] [14:08:15:970] [31312:31340] [ERROR][com.freerdp.core] - failed to connect to xxx.xxx.xx.xx [14:08:15:979] [31312:31340] [ERROR][com.freerdp.core.codecs] - Failed to create rfx codec context Segmentation fault