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

Sets an X.509-accurate issuer representation #7

Merged
merged 1 commit into from Dec 27, 2023
Merged

Sets an X.509-accurate issuer representation #7

merged 1 commit into from Dec 27, 2023

Conversation

cavalle
Copy link
Contributor

@cavalle cavalle commented Dec 27, 2023

The method we were using to extract the X.509 issuer description wasn't accurate. This was causing SigningCertificate errors with certificates that had other than the common elements.

This PR sets the X.509-accurate issuer representation using the method described in the relevant docs.

I would love to add a test for the cases affected by these changes, but for that we would need a test certificate with non-common elements, which I'm not sure what's the best way to get (feedback welcome!).

@cavalle cavalle requested a review from samlown December 27, 2023 12:04
Copy link
Contributor

@samlown samlown left a comment

Choose a reason for hiding this comment

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

Nice! It would be nice to have a test, but not sure how either. Would one of the test certificates not have some issuer data to check?

@cavalle
Copy link
Contributor Author

cavalle commented Dec 27, 2023

Would one of the test certificates not have some issuer data to check?

I'm afraid not. The only certificate I found affected by these changes is the production one.

@cavalle cavalle merged commit 7487e1f into main Dec 27, 2023
2 checks passed
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.

None yet

2 participants