Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace MD5 Hash with UUID #94

Merged
merged 3 commits into from
Apr 18, 2020
Merged

Replace MD5 Hash with UUID #94

merged 3 commits into from
Apr 18, 2020

Conversation

RyanMillerC
Copy link
Contributor

Fixes #93.

This PR addresses crashing on systems with FIPS enabled.

Changes:

  • Replace MD5 hash with UUID Version 4
  • Replace references to hashid with nodeid

@@ -268,7 +268,7 @@ def __init__(self, label: str = ""):
:param label: Node label.
"""
# Generates a hash for identifying a node.
self._hash = self._rand_hash()
self._id = self._rand_id()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the comment :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed that one, updated!

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mingrammer mingrammer merged commit 5061d66 into mingrammer:master Apr 18, 2020
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.

Fails to Run on FIPS Enabled Systems
2 participants