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

Do not panic in the kms::sign() function #975

Merged
merged 6 commits into from
Jan 6, 2025
Merged

Conversation

squadgazzz
Copy link
Contributor

@squadgazzz squadgazzz commented Jan 6, 2025

Removes unnecessary unwrap() call inside the kms::sign() function, which leads to unexpected behavior from the client side.

Also, includes workarounds in order to build the project with outdated dependencies.

@squadgazzz squadgazzz changed the title Do not panic in the kms::sign() function Do not panic in the kms::sign() function Jan 6, 2025
@squadgazzz squadgazzz marked this pull request as ready for review January 6, 2025 18:04
.map_err(aws_sdk_kms::Error::from)
.unwrap();
.map_err(aws_sdk_kms::Error::from)?;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The actual change.

@MartinquaXD
Copy link
Contributor

For some reason I can only comment but not approve.
Lgtm

@squadgazzz squadgazzz enabled auto-merge (squash) January 6, 2025 18:17
@squadgazzz squadgazzz merged commit 7979139 into main Jan 6, 2025
6 checks passed
@squadgazzz squadgazzz deleted the do-not-panic-on-sign branch January 6, 2025 18:17
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