All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Yang <garyyang6@yahoo.com>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: "secret key not available". "unable to sign the tag".
Date: Mon, 17 Nov 2008 17:59:10 -0800 (PST)	[thread overview]
Message-ID: <424422.27374.qm@web37902.mail.mud.yahoo.com> (raw)
In-Reply-To: <20081115035743.GA19633@coredump.intra.peff.net>

Jeff King,

I followed your instruction. But, I still got error when I tag the code. Can you please tell me why?

>   git config --global user.email garyyang6@yahoo.com

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 <garyyang6@yahoo.com>': 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 Fri, 11/14/08, Jeff King <peff@peff.net> wrote:

> From: Jeff King <peff@peff.net>
> Subject: Re: "secret key not available". "unable to sign the tag".
> To: "Gary Yang" <garyyang6@yahoo.com>
> Cc: git@vger.kernel.org
> Date: Friday, November 14, 2008, 7:57 PM
> On Fri, Nov 14, 2008 at 03:28:44PM -0800, Gary Yang wrote:
> 
> > I got errors and warnings when I used "git tag -s
> my-tag". It says,
> > "secret key not available". "unable to
> sign the tag". 
> 
> Probably because it can't find your secret key, like it
> says.
> 
> > gpg: please see http://www.gnupg.org/faq.html for more
> information
> > gpg: skipped `Gary Yang
> <gyang@linux123.(none)>': secret key not available
> > gpg: signing failed: secret key not available
> > error: gpg failed to sign the tag
> > fatal: unable to sign the tag
> > 
> > I ran "gpg --gen-key" and generated keypair.
> But, still got the same
> > error. Please help.
> 
> Did the key you generated have the email address
> "gyang@linux123.(none)"? If not, then that is
> your problem.
> 
> You need to tell git who you are, since it is unable to
> deduce it from
> doing host lookups. Try:
> 
>   git config --global user.email garyyang6@yahoo.com
> 
> or whatever email address you used when you created the
> key, and then
> gpg should find it appropriately.
> 
> -Peff
> --
> 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


      

  parent reply	other threads:[~2008-11-18  2:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-14 23:28 "secret key not available". "unable to sign the tag" Gary Yang
2008-11-15  3:57 ` Jeff King
2008-11-17  0:16   ` Linus Torvalds
2008-11-18 16:55     ` Gary Yang
2008-11-18 16:57     ` Gary Yang
2008-11-18  1:59   ` Gary Yang [this message]
2008-11-18  4:21     ` Linus Torvalds
2008-11-18 20:22 ` Gary Yang
2008-11-18 20:26   ` Gary Yang
2008-11-18 21:20     ` Gary Yang
2008-11-19 15:42       ` Linus Torvalds
2008-11-19 16:54         ` Gary Yang
2010-02-04 11:44           ` SASh-4
     [not found] <49236F67.6080807@pcharlan.com>
2008-11-19  2:19 ` Gary Yang

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=424422.27374.qm@web37902.mail.mud.yahoo.com \
    --to=garyyang6@yahoo.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.