Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(tls): print a warning if a system certificate can't be loaded #25023

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

bartlomieju
Copy link
Member

This commit changes how system certificates are loaded on startup.

Instead of hard erroring if a certificate can't be decoded, we are now
printing a warning and bumping a hex representation of the certificate
and continue execution.

Ref #24137

Copy link
Member

@satyarohith satyarohith left a comment

Choose a reason for hiding this comment

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

A test would be nice to add

@bartlomieju
Copy link
Member Author

A test would be nice to add

There's no reasonable way to test that.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju enabled auto-merge (squash) August 13, 2024 15:40
@bartlomieju bartlomieju merged commit 25bb59d into denoland:main Aug 13, 2024
17 checks passed
@bartlomieju bartlomieju deleted the invalid_certificate branch August 13, 2024 20:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants