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

Re: Allow "-u" flag to tag signing

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Oct 6, 2005, 17:15 UTC
Message-ID
<43455BBC.6020908@zytor.com>
In-Reply-To
<Pine.LNX.4.64.0510060952410.31407@g5.osdl.org>
Linus Torvalds wrote:
Show 16 quoted lines
> The current "git tag -s" thing always uses the tagger name as the signing 
> user key, which is very irritating, since my key is under my email 
> address, but the tagger key obviously contains the actual machine name 
> too.
> 
> Now, I could just use "GIT_COMMITTER_EMAIL" and force it to be my real 
> email, but I actually think that it's nice to see which machine I use for 
> my work. 
> 
> So rather than force my tagger ID to have to match the gpg key name, just 
> support the "-u" flag to "git tag" instead. It implicitly enables signing, 
> since it doesn't make any sense without it. Thus:
> 
> 	git tag -u <gpg-key-name> <tag-name> [<tagged-object>]
> 
> will use the named gpg key for signing.

This is important for another reason as well: a lot of people have multiple keys.

	-hpa
Previous: Linus TorvaldsNext: Junio C Hamano
Message 2 of 4 in “Allow "-u" flag to tag signing”
  1. Linus TorvaldsOct 6, 2005
  2. H. Peter AnvinOct 6, 2005
  3. Junio C HamanoOct 6, 2005
  4. Chris WrightOct 6, 2005

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.