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

grpc-js: Provide full certificate in checkServerIdentity callback #1968

Merged

Conversation

murgatroid99
Copy link
Member

This adds all of the certificate info that Node can provide to the object passed to the checkServerIdentity callback. The previous restriction was for compatibility with the grpc package, but with the deprecation of that package that is less valuable. This is a non-breaking change because it only adds properties to the object that is provided to the API user.

This PR accomplishes essentially the same thing as #1866. I requested some changes in that PR and the contributor never responded, and now there is additional demand for this improvement in #1965, so I did it myself.

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