Skip to content

Add the "fingerprint_hash_type" option to ssh state and module#40543

Merged
cachedout merged 1 commit intosaltstack:2016.11from
rallytime:fix-40005
Apr 5, 2017
Merged

Add the "fingerprint_hash_type" option to ssh state and module#40543
cachedout merged 1 commit intosaltstack:2016.11from
rallytime:fix-40005

Conversation

@rallytime
Copy link
Contributor

This new option allows the user to specify what kind of hash was used when the public key was hashed to a fingerprint. The default hash is md5, but the user should be able to specify this if they know what the fingerprint was originally hashed with.

Fixes #40005

Fixes saltstack#40005

This new option allows the user to specify what kind of hash was
used when the public key was hashed to a fingerprint. The default
hash is md5, but the user should be able to specify this if they
know what the fingerprint was originally hashed with.
@ghost
Copy link

ghost commented Apr 5, 2017

@rallytime, thanks for your PR! By analyzing the history of the files in this pull request, we identified @imankulov, @jfindlay and @jahamn to be potential reviewers.

@rallytime rallytime requested a review from cachedout April 5, 2017 17:32
@cachedout cachedout merged commit cb9dcb1 into saltstack:2016.11 Apr 5, 2017
@rallytime rallytime deleted the fix-40005 branch April 5, 2017 21:27
rallytime pushed a commit to rallytime/salt that referenced this pull request Apr 26, 2017
rallytime pushed a commit to rallytime/salt that referenced this pull request Jun 19, 2017
In PR saltstack#40543, the fingerprint_hash_type option was added to the state
function in salt/states/ssh_known_hosts.py, as well as the function in
the ssh execution module that the ssh_known_hosts states called out to.

This caused issue saltstack#40878 because the fingerprint_hash_type state setting
was not added to the salt/states/ssh_auth.py file. This PR adds this
setting to the ssh_auth file, as well as the functions that are used in
the ssh execution module. This allows the user to set the fingerprint_hash_type
option so avoid the warnings about the default changing.

Fixes saltstack#40878
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments