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

default gpg signing key

From
Marco Sirabella <marco@sirabella.org>
Date
Feb 18, 2019, 20:12 UTC
Message-ID
<20190218201232.pqyy3kws75zduq7g@Ridl3y>
Hi all,

When signing a commit with git, the newer of two signing keys under my main master key is used. This is even the case when `default-key` is set in `gpg.conf` (`gpg --sign` uses the correct key).

Is there any way to tell git to not use the `--local-user` flag when signing, and just let `gpg` decide which key to sign with? Or is `gpg.signingKey` in the config the way to go?

Thanks,
-- Marco Sirabella
Next: brian m. carlson
Message 1 of 2 in “default gpg signing key”
  1. Marco SirabellaFeb 18, 2019
  2. brian m. carlsonFeb 18, 2019

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.