| Summary: | 'ssh-keygen -HF' hashes host,IP together | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Jan Pechanec <jp> | ||||
| Component: | ssh-keygen | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | djm, dtucker | ||||
| Priority: | P3 | ||||||
| Version: | 4.7p1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 1353 | ||||||
| Attachments: |
|
||||||
Target 4.8 patch applied - thanks! Fix shipped in 4.9/4.9p1 release. |
Created attachment 1363 [details] fix for the bug reported the corner case of '-HF' returns a string that is a hash for the whole hostline and not just the host xor IP address which means that usually it will return a hash for "HOST,IP". This will never be matched if manually included into the known_host file since ssh hashes only one of HOST or IP to look for a match in known_hosts file. patch to fix this is included.