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

git-tag -s can't find GPG private key

From
Mike.lifeguard <mike.lifeguard@gmail.com>
Date
Jan 27, 2010, 21:02 UTC
Message-ID
<4B60A9F0.5000904@gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,

It seems that when the GPG key name and user.name in git's config are different, git can't find the appropriate private key to sign the tag. Git should attempt to use user.email to find the key. Setting user.signingkey is of course a workaround. The relevant code would be in builtin-tag.c.

- -Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktgqewACgkQst0AR/DaKHuDZgCgpYHD05aJHKF/Wj/uU8CK5swP SccAoMjHVKM/OZBhbvSvC+aWCQ123Tje =ZIo0 -----END PGP SIGNATURE-----

Next: Sverre Rabbelier
Message 1 of 3 in “git-tag -s can't find GPG private key”
  1. Mike.lifeguardJan 27, 2010
  2. Sverre RabbelierJan 27, 2010
  3. Junio C HamanoJan 27, 2010

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.