From: Andy Parkins <andyparkins@gmail.com>
To: git@vger.kernel.org
Subject: Signed git-tag doesn't find default key
Date: Fri, 20 Oct 2006 10:04:17 +0100 [thread overview]
Message-ID: <200610201004.17263.andyparkins@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
Hello,
I did this:
$ git tag -s adp-sign-tag
gpg: skipped "Andy Parkins <andyparkins@gmail.com>": secret key not available
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
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
found. The answer is (I think) to search only on the email address when
looking for a key. I've simply changed git-tag to have
username=$(git-repo-config user.email)
However, this is clearly wrong as what it actually wants is the committer
email. Am I safe to simply process the $tagger variable to extract it?
Andy
--
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2006-10-20 9:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-20 9:04 Andy Parkins [this message]
2006-10-20 16:32 ` Signed git-tag doesn't find default key Linus Torvalds
2006-10-20 19:21 ` Andy Parkins
2006-10-21 0:52 ` Horst H. von Brand
2006-10-21 7:44 ` Andy Parkins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200610201004.17263.andyparkins@gmail.com \
--to=andyparkins@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).