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

Add support for parsing RSA keys out of pkcs8 files with RSA-PSS key #177

Open
lumag opened this issue Aug 19, 2022 · 0 comments
Open

Add support for parsing RSA keys out of pkcs8 files with RSA-PSS key #177

lumag opened this issue Aug 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@lumag
Copy link
Contributor

lumag commented Aug 19, 2022

EncodePublicKey/DecodePublicKey implementations are limited to plain RSA keys only. Add support for encoding and decoding RSASSA-PSS (and RSAEP-OAEP) keys to/from DER data. Additional notice: ideally the code should be able to use newly Signed/Verifier keys, however this would bring additional complexities and addtional dependencies on digests. So, the first naïve attempt would be to return PublicKey/PaddingScheme pair when decoding the DER.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants