Signed git-tag doesn't find default key

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Friday, October 20, 2006 - 5:04 am

Hello,

I did this:

$ git tag -s adp-sign-tag
gpg: skipped "Andy Parkins <andyparkins@gmail.com>": secret key not availab=
le
gpg: signing failed: secret key not available
failed to sign the tag with GPG.

I believe the problem is that I have used the comment field in my key's UID=
=20
definition.

$ gpg --list-keys andy
pub   1024D/4F712F6D 2003-08-14
uid                  Andy Parkins (Google) <andyparkins@gmail.com>

So when git-tag looks for "Andy Parkins <andyparkins@gmail.com>"; it's not=
=20
found.  The answer is (I think) to search only on the email address when=20
looking for a key.  I've simply changed git-tag to have

username=3D$(git-repo-config user.email)

However, this is clearly wrong as what it actually wants is the committer=20
email.  Am I safe to simply process the $tagger variable to extract it?



Andy
=2D-=20
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Signed git-tag doesn't find default key, Andy Parkins, (Fri Oct 20, 5:04 am)
Re: Signed git-tag doesn't find default key, Linus Torvalds, (Fri Oct 20, 12:32 pm)
Re: Signed git-tag doesn't find default key, Andy Parkins, (Fri Oct 20, 3:21 pm)
Re: Signed git-tag doesn't find default key , Horst H. von Brand, (Fri Oct 20, 8:52 pm)
Re: Signed git-tag doesn't find default key, Andy Parkins, (Sat Oct 21, 3:44 am)