Skip to content

Commit

Permalink
Comment a particularly egregious example of message passing
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Dec 3, 2019
1 parent 109b14c commit 8fd7385
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions paramiko/pkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,9 @@ def _uint32_cstruct_unpack(self, data, strformat):
arr.append(s)
break
except Exception as e:
# PKey-consuming code frequently wants to save-and-skip-over issues
# with loading keys, and uses SSHException as the (really friggin
# awful) signal for this. So for now...we do this.
raise SSHException(str(e))
return tuple(arr)

Expand Down

0 comments on commit 8fd7385

Please sign in to comment.