Fix a crash when Paramiko has trouble with loading a host key.

Review Request #11110 — Created Aug. 2, 2020 and submitted

Information

Review Board
release-3.0.x

Reviewers

It's possible for Paramiko to raise an exception if it can't load a host
key that's in a format it doesn't understand. This breaks any attempts
at loading host keys. This is most likely to happen on a developer
setup.

We now check for this and just skip the key.

Encountered this locally and saw it affect unit test runs and some
repository interaction. After the patch, everything worked as expected.

Summary ID
Fix a crash when Paramiko has trouble with loading a host key.
It's possible for Paramiko to raise an exception if it can't load a host key that's in a format it doesn't understand. This breaks any attempts at loading host keys. This is most likely to happen on a developer setup. We now check for this and just skip the key.
0aa1059102b621e5ecd671e0914594e6b4dab43d
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (39c3482)
Loading...