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

Cryptographic Error - The specified RSA parameters are not valid #1

Open
Wazzo79 opened this issue Nov 13, 2024 · 1 comment
Open

Comments

@Wazzo79
Copy link

Wazzo79 commented Nov 13, 2024

Thank you for undertaking to solve this issue. When I run my app I get the following:

System.Security.Cryptography.CryptographicException: 'The specified RSA parameters are not valid. Exponent and Modulus are required. If D is present, it must have the same length as Modulus. If D is present, P, Q, DP, DQ, and InverseQ are required and must have half the length of Modulus, rounded up, otherwise they must be omitted.'

Do you have any idea how to resolve this?

This error is being thrown at the UseIdentityServer() method.

@paviad
Copy link
Owner

paviad commented Nov 13, 2024

This library doesn't call "UseIdentityServer"... can you provide a full stack trace?

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

No branches or pull requests

2 participants