Skip to content

api: Explain security constraints of ATTR_AUTHORITY_OVERRIDE#9281

Merged
ejona86 merged 2 commits intogrpc:masterfrom
ejona86:eag-authority
Jun 22, 2022
Merged

api: Explain security constraints of ATTR_AUTHORITY_OVERRIDE#9281
ejona86 merged 2 commits intogrpc:masterfrom
ejona86:eag-authority

Conversation

@ejona86
Copy link
Copy Markdown
Member

@ejona86 ejona86 commented Jun 15, 2022

Half of the text was copied from NameResolver.getServiceAuthority().
However, that method can't perform I/O (which would block) so more text
was appropriate here to mention the implications of having a remote
service provide the authority.

I noticed the text was lacking while discussing #9266.

Half of the text was copied from NameResolver.getServiceAuthority().
However, that method can't perform I/O (which would block) so more text
was appropriate here to mention the implications of having a remote
service provide the authority.

I noticed the text was lacking while discussing grpc#9266.
@ejona86 ejona86 requested a review from temawi June 15, 2022 16:12
* authority override.
*
* <p>The authority <strong>must</strong> be from a trusted source, because if the authority is
* tampered with RPCs may be sent to attackers which may leak sensitive user data. If the
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"tampered with, RPCs may be..."

@ejona86 ejona86 enabled auto-merge (squash) June 22, 2022 19:52
@ejona86 ejona86 merged commit 69abec5 into grpc:master Jun 22, 2022
@ejona86 ejona86 deleted the eag-authority branch June 23, 2022 21:26
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants