chore: show a validation action#23539
Closed
alexeagle wants to merge 1 commit intoprotocolbuffers:validation_protoc_authenticfrom
Closed
chore: show a validation action#23539alexeagle wants to merge 1 commit intoprotocolbuffers:validation_protoc_authenticfrom
alexeagle wants to merge 1 commit intoprotocolbuffers:validation_protoc_authenticfrom
Conversation
Member
|
I wasn't able to reproduce the output above. I get: (Sorry if this is due to my slow review -- perhaps something bitrotted in the meantime). |
alexeagle
added a commit
that referenced
this pull request
Nov 20, 2025
Gives some protection against a repo accidentally registering a protoc binary on the toolchain that doesnt behave as expected. Based on #23539
Collaborator
Author
|
Rolled into #24115 at protobuf team's request. |
alexeagle
added a commit
that referenced
this pull request
Nov 20, 2025
Gives some protection against a repo accidentally registering a protoc binary on the toolchain that doesnt behave as expected. Based on #23539
alexeagle
added a commit
that referenced
this pull request
Nov 20, 2025
Gives some protection against a repo accidentally registering a protoc binary on the toolchain that doesnt behave as expected. Based on #23539
alexeagle
added a commit
that referenced
this pull request
Dec 9, 2025
Gives some protection against a repo accidentally registering a protoc binary on the toolchain that doesnt behave as expected. Based on #23539
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rough sketch of a way to check whether protoc is an "authentic" release from the protobuf team.
We create a single validation action, and then forward the validation output group through proto_library to ensure all users should hit it.
Next steps to make it real:
protoc --versionand then failing, we should checksum protoc and verify against the expected hashdemo: