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

feat: allow certificate validation errors to be caught instead of terminating #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chellman
Copy link

This came up in the context of pushd. If there are a lot of push notification destinations set up, all with their own certificates, it's not ideal for one expired certificate to cause a terminating failure.

This tiny change wraps the validation in a try/catch so a validation error is still logged, but execution can continue.

Joe

@davimacedo
Copy link
Member

Sorry for the long delay on this one. I like the idea. I believe we should continue terminating in the case there is no valid certificates though. What do you think?

@mtrezza mtrezza changed the title Allow certificate validation errors to be caught instead of terminating feat: allow certificate validation errors to be caught instead of terminating Mar 27, 2022
@parse-github-assistant
Copy link

Thanks for opening this pull request!

  • ❌ Please edit your post and use the provided template when creating a new pull request. This helps everyone to understand your post better and asks for essential information to quicker review the pull request.

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