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

Use PKeys consistently #184

Merged
merged 1 commit into from
Apr 20, 2021
Merged

Use PKeys consistently #184

merged 1 commit into from
Apr 20, 2021

Conversation

lkatalin
Copy link
Contributor

Following on #181, use the openssl crate's PKey type instead of the inner
RSA type. Also, add additional key-related helper functions. (These make the future identity quote code less messy.)

src/crypto.rs Outdated
PKey::from_rsa(rsa).map_err(crate::Error::Crypto)
}
_ => {
unimplemented!()
Copy link
Member

Choose a reason for hiding this comment

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

Might be worth marking a TODO to handle this with an Err instead when we are near release.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Following on keylime#181, use the openssl crate's PKey type instead of the inner
RSA type. Also, add additional key-related helper functions

Signed-off-by: Lily Sturmann <[email protected]>
@lkatalin lkatalin merged commit d1a4efd into keylime:master Apr 20, 2021
@lkatalin lkatalin deleted the pkeys branch July 16, 2021 17:15
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.

4 participants