Skip to content

Conversation

@subat0mik
Copy link
Contributor

This PR fixes #28 and #33.

PR #29 broke some crypto functionality by using the *CryptoServiceProvider APIs.

The initial exception reported in #33 shows that an IV is expected because the overloaded function was expected. Explicitly passing the IV resolved that exception. After further testing, despite the *Managed and *CryptoServiceProvider APIs supposedly being interchangeable, something is breaking internally, which I could not resolve.

The reason for this change, as mentioned in PR #29, was to use FIPS-compliant algorithms on hosts that enforce FIPS. The *CryptoServiceProvider APIs are "somewhat" FIPS-compliant so, in theory, this is could work. However, these APIs broke functionality.

The other option is to disable the enforcement of FIPS in the application's config file: app.config.

This PR revers back to the *Managed APIs and disables enforcement of FIPS.

@HarmJ0y HarmJ0y merged commit 7eecafe into GhostPack:master Feb 24, 2024
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.

Execution fails if FIPS algorithms are enforced

2 participants