Re: "secret key not available". "unable to sign the tag".
From: Gary Yang <hidden>
Date: 2016-06-15 22:45:40
The gpg works. But, git tag dose not work. Any idea? gpg --detach-sign foo.bar gpg: WARNING: using insecure memory! gpg: please see http://www.gnupg.org/faq.html for more information You need a passphrase to unlock the secret key for user: "Gary Yang (For git.) [off-list ref]" 1024-bit DSA key, ID A3F6A45E, created 2008-11-14 Enter passphrase: [garyyang6@svdclc313 ~/git-repository]% It successfully signed. Gary
--- On Tue, 11/18/08, Gary Yang <garyyang6@yahoo.com> wrote:
quoted hunk ↗ jump to hunk
From: Gary Yang <redacted> Subject: Re: "secret key not available". "unable to sign the tag". To: "Jeff King" <redacted>, "Linus Torvalds" <torvalds@linux-foundation.org> Cc: git@vger.kernel.org Date: Tuesday, November 18, 2008, 12:26 PM Here are the errors I got: git tag -s my-second-tag gpg: WARNING: using insecure memory! gpg: please see http://www.gnupg.org/faq.html for more information gpg: skipped `Gary Yang [off-list ref]': secret key not available gpg: signing failed: secret key not available error: gpg failed to sign the tag fatal: unable to sign the tag Thanks, Gary--- On Tue, 11/18/08, Gary Yang <garyyang6@yahoo.com>wrote:quoted
From: Gary Yang <redacted> Subject: Re: "secret key not available"."unable to sign the tag".quoted
To: "Jeff King" <redacted>,"Linus Torvalds" [off-list ref]quoted
Cc: git@vger.kernel.org Date: Tuesday, November 18, 2008, 12:22 PM All, I really need to tag my source code. But, somehow I amnotquoted
able. Can someone help? Thanks in advance! Gary--- On Tue, 11/18/08, Gary Yang[off-list ref]quoted
wrote:quoted
From: Gary Yang <redacted> Subject: Re: "secret key notavailable".quoted
"unable to sign the tag".quoted
To: "Jeff King" <redacted>,"Linus Torvalds" [off-list ref]quoted
Cc: git@vger.kernel.org Date: Tuesday, November 18, 2008, 8:57 AM Hi Linus, I do not understand your email. I used thecommand,quoted
gitquoted
config --global user.email garyyang6@yahoo.com.But, Iquoted
stillquoted
got the same error. Do you have any idea? Thank you, Gary--- On Sun, 11/16/08, Linus Torvalds[off-list ref] wrote:quoted
From: Linus Torvalds[off-list ref]quoted
Subject: Re: "secret key notavailable".quoted
"unable to sign the tag".quoted
To: "Jeff King"[off-list ref]quoted
quoted
quoted
Cc: "Gary Yang"[off-list ref],quoted
git@vger.kernel.orgquoted
Date: Sunday, November 16, 2008, 4:16 PM On Fri, 14 Nov 2008, Jeff King wrote:quoted
You need to tell git who you are, sinceitquoted
isquoted
unablequoted
to deduce it fromquoted
doing host lookups. Try: git config --global user.emailgaryyang6@yahoo.comquoted
quoted
or whatever email address you used whenyouquoted
quoted
createdquoted
the key, and thenquoted
gpg should find it appropriately.Side note: sometimes you might want to use adifferentquoted
keyquoted
than the one you use for authorship. Then you can use [user] SigningKey = key (or "git config user.signingkeyxyz" ifquoted
youquoted
quoted
don't want to edit the config file manually). This can be especially useful if you usedifferentquoted
keys forquoted
different projects, even if you want to be known underthequoted
samequoted
namequoted
in both. Or because you want to have the local hostnameinquoted
yourquoted
commitquoted
logs, but your gpg key is using some externally visible "official" email address. Linus-- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html-- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html