Skip to content

Implement AsRef<[u8]> for UnparsedPublicKey #790

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

Merged
merged 2 commits into from
Apr 28, 2025

Conversation

Stupremee
Copy link
Contributor

@Stupremee Stupremee commented Apr 25, 2025

Issues:

Resolves #788

Description of changes:

Implement the AsRef<[u8]> trait for the UnparsedPublicKey type to get access to the raw key.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@Stupremee Stupremee requested a review from a team as a code owner April 25, 2025 21:46
@codecov-commenter
Copy link

codecov-commenter commented Apr 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.91%. Comparing base (c358484) to head (7e56f8b).
Report is 208 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #790      +/-   ##
==========================================
- Coverage   95.80%   92.91%   -2.89%     
==========================================
  Files          61       71      +10     
  Lines        8143     9720    +1577     
  Branches        0     9720    +9720     
==========================================
+ Hits         7801     9031    +1230     
- Misses        342      421      +79     
- Partials        0      268     +268     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Stupremee
Copy link
Contributor Author

The errors from clippy look like they are unrelated to my code. They are probably due to a new clippy version?

@justsmth justsmth force-pushed the unparsedpublickey-asref branch from a998af2 to 7e56f8b Compare April 28, 2025 16:24
@justsmth justsmth requested review from justsmth and skmcgrail April 28, 2025 16:24
@justsmth justsmth merged commit e6bce83 into aws:main Apr 28, 2025
276 of 279 checks passed
@Stupremee Stupremee deleted the unparsedpublickey-asref branch April 29, 2025 06:26
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.

UnparsedPublicKey is missing AsRef<[u8]> implementation
4 participants