RDP: Segfault when connecting to host with changed host key
When trying to connect to a Windows host with RDP and the host has changed its host key Boxes segfaults.
Logs:
[ … Several more of the logs below … ]
[12:01:38:000] [25675:25898] [ERROR][com.freerdp.crypto] - The host key for 172.31.33.64:3389 has changed
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - Someone could be eavesdropping on you right now (man-in-the-middle attack)!
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - It is also possible that a host key has just been changed.
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - The fingerprint for the host key sent by the remote host is7b:81:8c:c2:89:c0:29:ff:9e:b6:72:34:7f:13:5b:df:e7:bf:8b:34
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - Please contact your system administrator.
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - Add correct host key in /home/mattiasb/.config/freerdp/known_hosts2 to get rid of this message.
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - Host key for 172.31.33.64 has changed and you have requested strict checking.
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - Host key verification failed.
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.crypto] - certificate not trusted, aborting.
[12:01:38:001] [25675:25898] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_CONNECT_CANCELLED [0x0002000B]
Segmentation fault (core dumped)