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

Feature request: RSA extract params from Public key #1481

Closed
sichej opened this issue Nov 23, 2022 · 2 comments
Closed

Feature request: RSA extract params from Public key #1481

sichej opened this issue Nov 23, 2022 · 2 comments
Labels

Comments

@sichej
Copy link

sichej commented Nov 23, 2022

Is your feature request related to a problem? Please describe.
I need to extract modules and exponent from Public key RSA

Describe the solution you'd like
From string/file to module and exponent

Describe alternatives you've considered
using OpenSSL, but is easier for everybody here.

@cplussharp
Copy link
Contributor

You can use [PEM_to_Hex] + [Parse_ASN.1_hex_string]

Or if it gets merged sometimes the conversion from PEM to JSON Web Key (see #1794 )

@a3957273
Copy link
Member

Closed by #1277, which returns a list of parameters from within a public key.

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

No branches or pull requests

3 participants