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

Signing commits and tags differently

From
APAndrea Pappacoda <tachi@debian.org>
Date
Aug 12, 2025, 15:18 UTC
Message-ID
<DC0JSOC14W8U.3UCX8TG6X7W5O@debian.org>
Hi all!

I would like to configure Git to automatically sign commits using SSH keys, while using OpenPGP when creating signed tags. As far as I can tell, this isn't currently possible.

What I was thinking about were a couple of options like commit.gpg.format and tag.gpg.format, as we already have commit.gpgSign and tag.gpgSign. Of course, differently namespaced options like gpg.tag.format would work too.

What do you think? Does this make any sense to you? Let me know!
Bye :)
P.S. please keep me CC'd; I'm not subscribed
Next: brian m. carlson
Message 1 of 2 in “Signing commits and tags differently”
  1. Andrea PappacodaAug 12, 2025
  2. brian m. carlsonAug 12, 2025

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.