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

Add Cargo features and code to allow OpenSSL to be used for Crypto #40

Merged
merged 3 commits into from
Jan 15, 2024

Conversation

ramaravishankar
Copy link
Contributor

@ramaravishankar ramaravishankar commented Dec 27, 2023

Hi - thanks for sharing this library!

This change is to add support for using OpenSSL for cryptography instead of the MD5 crate - for cases where only a trusted OpenSSL implementation is supported for anything cryptography related. There's no functional change to the output of the library.

I've added this as a cargo feature so that the MD5 crate is still used by default so as not to impact existing users who don't want the OpenSSL dependency. Using one feature doesn't compile in the dependencies of the other.

I've also added extra workflow steps to test the two feature options explicitly and confirmed these pass.

Let me know if you have any comments.

If you do accept, would you be able to tag a new release as well please?

Thanks again!

@ramaravishankar ramaravishankar changed the title Add openssl support as optional feature Add Cargo features and code to allow OpenSSL to be used for Crypto Dec 27, 2023
@ramaravishankar ramaravishankar marked this pull request as ready for review December 27, 2023 11:40
@ramaravishankar
Copy link
Contributor Author

@moznion can I please get a feedback on this?

@ramaravishankar
Copy link
Contributor Author

ramaravishankar commented Jan 3, 2024

@moznion can I please get feedback on this?

@moznion moznion self-requested a review January 4, 2024 00:03
@moznion
Copy link
Owner

moznion commented Jan 4, 2024

@ramaravishankar Thank you for your contribution. Please give me a time to take a look at this.

@ramaravishankar
Copy link
Contributor Author

@moznion sorry for bugging again, we have a dependency on this change, would it be possible for you to review this week?

@moznion
Copy link
Owner

moznion commented Jan 15, 2024

@ramaravishankar I really appreciate your contribution! It seems some of Windows tests failed but the core of the change seems good. I'll merge this pull request and publish the new version which includes this change. Once it has been finished, I'll let you know that.

@moznion moznion merged commit 14164d8 into moznion:main Jan 15, 2024
3 of 6 checks passed
@ramaravishankar ramaravishankar deleted the add-openssl branch January 15, 2024 06:07
@moznion
Copy link
Owner

moznion commented Jan 15, 2024

@ramaravishankar I published v0.4.0 which includes this change. Thank you for your contribution!

@ramaravishankar
Copy link
Contributor Author

Thanks @moznion, cheers 🎉

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