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-----