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

Improve error reporting for public key parsing #35

Merged
merged 1 commit into from
May 7, 2024

Conversation

dcaunt
Copy link
Collaborator

@dcaunt dcaunt commented May 7, 2024

Throw a TokenGenerationError for malformed server public key rather then exposing the underlying ASN1 or certificate parsing error.

@dcaunt dcaunt force-pushed the dave/spki-error-reporting branch from 643a592 to c967f67 Compare May 7, 2024 14:05
@dcaunt dcaunt merged commit 3575125 into main May 7, 2024
3 checks passed
@dcaunt dcaunt deleted the dave/spki-error-reporting branch May 7, 2024 14:21
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.

2 participants