Skip to content

Conversation

@lumag
Copy link
Contributor

@lumag lumag commented Apr 2, 2023

…d PSS keys

Allow getting the algorithm identifiers for signing keys

@lumag
Copy link
Contributor Author

lumag commented Apr 2, 2023

@tarcieri
Note, I followed the ecdsa example, this PR contains patch.crates.io. It should be removed after releasing spki.

@tarcieri
Copy link
Member

tarcieri commented Apr 2, 2023

@lumag happy to do that if @baloo is happy with the API

@baloo
Copy link
Member

baloo commented Apr 3, 2023

I'm pretty happy with the API. I was missing support on PKCS#1 v1.5, see lumag#3 Fixed in #278 (comment)

…d PSS keys

Allow getting the algorithm identifiers for signing keys

Signed-off-by: Dmitry Baryshkov <[email protected]>
@lumag lumag closed this Apr 3, 2023
@lumag lumag reopened this Apr 3, 2023
Comment on lines +710 to +713
/*
* We do not expect that any of this functions fails, unless the library is broken, so it
* is safe to use unwrap()
*/
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps it's better to use expect here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ack, I'll switch to it.

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.

3 participants