# lib/ansible/module\_utils/known\_hosts.py and sha1 import on 1.5.3, 1.5.4...

**URL:** <https://forum.ansible.com/t/lib-ansible-module-utils-known-hosts-py-and-sha1-import-on-1-5-3-1-5-4/14988>\
**Category:** Ansible Project\
**Created:** [April 10, 2014, 1:24pm UTC](https://forum.ansible.com/t/lib-ansible-module-utils-known-hosts-py-and-sha1-import-on-1-5-3-1-5-4/14988 "2014-04-10T13:24:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanosh](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@seanosh](https://forum.ansible.com/u/seanosh)\
**Post date:** [April 10, 2014, 1:24pm UTC](https://forum.ansible.com/t/lib-ansible-module-utils-known-hosts-py-and-sha1-import-on-1-5-3-1-5-4/14988/1 "2014-04-10T13:24:07Z")

</div>

Not sure if this is a bug or not so I didn’t want to file in GitHub just yet. A rough timeline:

- Support added between 1.5.2 and 1.5.3 for checking hashed entries in SSH known\_hosts files
- 1.5.3 released
- [https://github.com/ansible/ansible/pull/6639](https://github.com/ansible/ansible/pull/6639)
- 1.5.4 released

Looks like PR #6639 didn’t make it into the release branches for 1.5.3 and 1.5.4 though. Sure, the PR occurred after 1.5.3 was released and I’m not sure what the policy is about backporting fixes like this into something already released, but should it have been in 1.5.4?

As a result the catch all `except` is hit on these versions when dealing with a hashed known\_hosts file.

Maybe it’s just how I do things - I run off a clone of ansible/ansible, reset --hard to a specific tag. New version of Ansible is released, I reset --hard to the new version, test my playbooks, make any fixes needed, and set the new version as the version to run from.

Thoughts?

---

<div class="post-metadata">

**Author:** ![tannerjc](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/tannerjc/32/985_2.png) [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Post date:** [April 10, 2014, 7:32pm UTC](https://forum.ansible.com/t/lib-ansible-module-utils-known-hosts-py-and-sha1-import-on-1-5-3-1-5-4/14988/2 "2014-04-10T19:32:15Z")

</div>

1.5.4 was a fix for a security vulnerability. No other fixes or features were added.
