git/list[1] front-page[2] threads[3] people[4] search[5] about
 

An analogue for commit.gpgsign but for verifying signatures on each pull

From
Lluckyguy@mailbox.org <luckyguy@mailbox.org>
Date
Nov 6, 2023, 05:34 UTC
Message-ID
<133794934.122939.1699248859628@office.mailbox.org>
Hello. I apologize if this question has been asked before.
Is there anyway I can configure git to *automatically* verify the signature of the HEAD of any branch it pulls and fail if that signature is bad or missing? I'm hoping for something as convenient as `commit.gpgSign` that can be configured globally.
I can, of course, do this "manually" but others may forget or may not be knowledgeable to do this on their own. I would like git to locally enforce this, rather than some upstream server, so that new commits don't accidentally get built on top of bad commits. 
If no such functionality exists in git today, then I humbly ask that this feature be considered. Perhaps `pull.gpgVerify`?
Thank you for your time.
Message 1 of 1 in “An analogue for commit.gpgsign but for verifying signatures on each pull”
  1. luckyguy@mailbox.orgNov 6, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.