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

fix: switch to SHA1 and add a try/catch block on acl inheritance hashing #172

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

rvazarkar
Copy link
Contributor

@rvazarkar rvazarkar commented Oct 17, 2024

Description

MD5 hashing is not FIPS compliant and in environments where compliance is enforced, .net will throw an exception. Switching to SHA1 will solve this issue. Additional try/catch for safety added.

Motivation and Context

https://specterops.atlassian.net/browse/BP-988

How Has This Been Tested?

Tested in GOAD w/ FIPS enforcement enabled

Screenshots (if appropriate):

Types of changes

  • Chore (a change that does not modify the application functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Documentation updates are needed, and have been made accordingly.
  • I have added and/or updated tests to cover my changes.
  • All new and existing tests passed.
  • My changes include a database migration.

Copy link
Collaborator

@zinic zinic left a comment

Choose a reason for hiding this comment

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

👍 pull

Copy link
Collaborator

@zinic zinic left a comment

Choose a reason for hiding this comment

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

Even better. Good to pull.

@rvazarkar rvazarkar merged commit 2343b28 into v4 Oct 17, 2024
3 checks passed
@rvazarkar rvazarkar deleted the BP-988 branch October 17, 2024 19:05
@github-actions github-actions bot locked and limited conversation to collaborators Oct 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants