Proposal: a .github/authorized_keys
file to verify commits
#102803
Unanswered
NatoBoram
asked this question in
Repositories
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
Say I want to change the version number in a GitHub Workflow, similar to this:
There's not really a good way to attribute this commit to an imaginary "GitHub Workflow" user. In any case, I'm using
github-actions[bot]
to be able to see its little profile picture in the list of commits and I'm signing this commit to be able to verify it later.This works wonderfully, except that the signature doesn't actually belong to that account.
What if there was a way for repositories to mark these commits as verified? For example, GitHub signs commits I make with GitHub's signature, not mine, so there's already some switcheroo going on behind the scenes.
Proposal:
.github/authorized_keys
file.Similar to
CODEOWNERS
, a file that would allow specifying that some commits can be signed by a specific signature.This file should be compatible with Git's ways of verifying signatures with this kind of files (AUTHORIZED_KEYS_FILE_FORMAT). Here's some docs on the subject:
Beta Was this translation helpful? Give feedback.
All reactions