-
Notifications
You must be signed in to change notification settings - Fork 190
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
Use md5 implementation of RustCrypto organization #1404
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution! These changes look good to me, but I will need to dig into why it's failing in CI. It's kind of a strange failure since the md5
symbol is being used generate the code, and that should pull in the md-5
dependency automatically.
It looks like the Our codegen doesn't currently support that concept, so I think this will require adding a property to |
45010fa
to
f7712ee
Compare
@jdisanti I see, I pushed a change that should fix that, let's see what CI thinks about it |
Signed-off-by: Petros Angelatos <[email protected]>
@petrosagg It looks like the codegen tests are still failing with a naming issue. You can run codegen locally to check for this with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like that this.name.replace("-", "_")
snippet was in two places. Easy fix. Thanks for contributing this!
@jdisanti oh, great! Thanks for looking into it, it would have been a deep rabbit hole to set up a local devenv for me, I've never worked with Java nor Kotlin before :) |
Motivation and Context
I noticed that the S3 SDK was depending to the
md5
crate which is not part of theRustCrypto
organization. TheRustCrypto
organization is the de-facto standard of cryptographic primitive implementations in Rust with an active community and already used byaws-smithy-checksums
for itssha1
andsha2
checksums.Description
I changed the
md5
crate to the one provided byRustCrypto
.Testing
No behavior changes to be tested
Checklist
CHANGELOG.next.toml
if I made changes to the AWS SDK, generated SDK code, or SDK runtime cratesBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.