Skip to content

Remove dependency on insecure crypto/md5 package#113

Closed
pkumar0508 wants to merge 1 commit intopaulmach:masterfrom
pkumar0508:patch-1
Closed

Remove dependency on insecure crypto/md5 package#113
pkumar0508 wants to merge 1 commit intopaulmach:masterfrom
pkumar0508:patch-1

Conversation

@pkumar0508
Copy link
Copy Markdown

crypto/sha256 is a suitable replacement as the standard library also provides it. This change only affects test code.

To be clear, I know this pull request looks a little silly, replacing a broken hash in one test. New dependencies on crypto/md5 have been disallowed in the codebase I'm trying to use github.com/paulmach/orb in. Given the change is small, easy, only affects test code, doesn't increase test runtime noticeably, and might resolve warnings about this dependency that other developers might run into, I figure I would send you a PR.

crypto/sha256 is a suitable replacement as the standard library also provides it.
This change only affects test code.
@pkumar0508
Copy link
Copy Markdown
Author

Thanks for #118 ! It satisfies my needs

@pkumar0508 pkumar0508 closed this Jan 6, 2023
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.

1 participant