Repository navigation
Conversation
…es. Also assures that the host entries in known_hosts get saved in hashed format as it is currently standard in OpenSSH.
…sly if keys from known_hosts are loaded via HostKeys.load() more than once (e.g. for refreshing the list of known hosts during runtime).
…e from RAM to disk. Avoids loss of host entries in case other SSH clients have written to the known_hosts file(s) meanwhile.
|
@sunweaver can you provide me with some instructions for testing/verifying your changes? A changelog entry (in I'm also curious if you think this could be related to #67. |
|
Hi Jeff, On Mo 15 Okt 2012 09:14:37 CEST Jeff Forcier wrote:
giving an answer to this one only for now. About your other question, This issue (#87) is a completely different cup of tea from issue #67. Host name hashing simply camouflages the hostnames, ports and public |
|
Hi, Finally got back to this - thanks again! I agree it's orthogonal to #67, so no worries. Reviewed the changes and they all seem safe enough to merge in. Will tweak + merge in a bit. |
There was a problem hiding this comment.
I don't see hash_hostname anywhere else in the codebase (even with your changes applied). As expected, that causes the test suite (python test.py in projecy root) to fail. I don't think this particular change is required by the others so I'm backing it out for now.
Please submit a new PR if you want to fix that up & resubmit it - assume you were trying to implement a "always hash hostnames" feature as per the commit msg.
There was a problem hiding this comment.
Hi Jeff,
the provided patch had an error. I am about to provide a patch that works. Basically, hash_hostname is a kwargs in HostKeyEntry.add(..., hash_hostname=True) .
Mike
|
Rebased on latest master for now (hard call, decided to just go with master vs release branch). Also see comment. Thanks! |
Hi Jeff,
please review + pull the patches against Paramiko we use in Python X2Go.
In Python X2Go I monkey patch the methods that get patched by the pull request. I would be glad, if I could stop monkey patching for Paramiko >= 1.8.0.
Thanks for taking over the Paramiko project.
Mike