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

Re: [PATCH] tag: add tag.gpgSign config option to force all tags be GPG-signed

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Oct 28, 2017, 17:17 UTC
Message-ID
<20171028171715.42uka4w2x2zm6pit@genre.crustytoothpaste.net>
In-Reply-To
<20171026213337.kbmwnaxlsyubat4w@aiede.mtv.corp.google.com>
On Thu, Oct 26, 2017 at 02:33:37PM -0700, Jonathan Nieder wrote:
Show 15 quoted lines
> Now I'm even more curious.
> 
> I don't think we have the full picture to understand whether this
> change is needed.  When adding a configuration item, we need to be
> able to explain to users what the configuration item is for, and so
> far the only answer I am hearing is "because we do not want to patch
> our build/release script, though we could in principle".  That doesn't
> sound like a compelling reason.
> 
> On the other hand, perhaps the answer is "our build/release script
> does not have a --sign option for the following reason, and this is a
> better interface for configuring it".
> 
> Or perhaps there is an answer that does not involve the build/release
> script.

I think this option is potentially quite useful. Say we have a policy which requires signed tags for auditability reasons. Shipping a standard system-wide gitconfig to all systems with this option can be very useful and is easier than relying on individuals remembering the required options. Otherwise, somebody might create a lightweight tag (or an unsigned tag) and push it by accident, which would be hard to undo (because tags aren't overwritten).

In my open-source projects, I always want to create a signed tag, so I would find this option useful. The only time I want a lightweight tag is in creating ephemeral repositories, and I can script that into my alias.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204
Previous: Mkrtchyan, Tigran
Message 7 of 7 in “tag: add tag.gpgSign config option to force all tags be GPG-signed”
  1. tag: add tag.gpgSign config option to force all tags be GPG-signedTigran Mkrtchyan, Oct 26, 2017
  2. Jonathan NiederOct 26, 2017
  3. Mkrtchyan, TigranOct 26, 2017
  4. Jonathan NiederOct 26, 2017
  5. Stefan BellerOct 26, 2017
  6. Mkrtchyan, TigranOct 27, 2017
  7. brian m. carlsonOct 28, 2017

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.