All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Yang <garyyang6@yahoo.com>
To: Jeff King <peff@peff.net>,
	Linus Torvalds <torvalds@linux-foundation.org>
Cc: git@vger.kernel.org
Subject: Re: "secret key not available". "unable to sign the tag".
Date: Tue, 18 Nov 2008 13:20:42 -0800 (PST)	[thread overview]
Message-ID: <31942.12221.qm@web37902.mail.mud.yahoo.com> (raw)
In-Reply-To: <810496.66936.qm@web37903.mail.mud.yahoo.com>



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.) <garyyang6@yahoo.com>"
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:

> From: Gary Yang <garyyang6@yahoo.com>
> Subject: Re: "secret key not available". "unable to sign the tag".
> To: "Jeff King" <peff@peff.net>, "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 <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 Tue, 11/18/08, Gary Yang <garyyang6@yahoo.com>
> wrote:
> 
> > From: Gary Yang <garyyang6@yahoo.com>
> > Subject: Re: "secret key not available".
> "unable to sign the tag".
> > To: "Jeff King" <peff@peff.net>,
> "Linus Torvalds"
> <torvalds@linux-foundation.org>
> > 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 am
> not
> > able. Can someone help?
> > 
> > Thanks in advance!
> > 
> > 
> > Gary
> > 
> > 
> > 
> > --- On Tue, 11/18/08, Gary Yang
> <garyyang6@yahoo.com>
> > wrote:
> > 
> > > From: Gary Yang <garyyang6@yahoo.com>
> > > Subject: Re: "secret key not
> available".
> > "unable to sign the tag".
> > > To: "Jeff King" <peff@peff.net>,
> > "Linus Torvalds"
> > <torvalds@linux-foundation.org>
> > > Cc: git@vger.kernel.org
> > > Date: Tuesday, November 18, 2008, 8:57 AM
> > > Hi Linus,
> > > 
> > > I do not understand your email. I used the
> command,
> > git
> > > config --global user.email garyyang6@yahoo.com.
> But, I
> > still
> > > got the same error. Do you have any idea?
> > > 
> > > Thank you,
> > > 
> > > 
> > > Gary
> > > 
> > > 
> > > --- On Sun, 11/16/08, Linus Torvalds
> > > <torvalds@linux-foundation.org> wrote:
> > > 
> > > > From: Linus Torvalds
> > > <torvalds@linux-foundation.org>
> > > > Subject: Re: "secret key not
> > available".
> > > "unable to sign the tag".
> > > > To: "Jeff King"
> <peff@peff.net>
> > > > Cc: "Gary Yang"
> > <garyyang6@yahoo.com>,
> > > git@vger.kernel.org
> > > > Date: Sunday, November 16, 2008, 4:16 PM
> > > > On Fri, 14 Nov 2008, Jeff King wrote:
> > > > > 
> > > > > 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.
> > > > 
> > > > Side note: sometimes you might want to use a
> > different
> > > key
> > > > than the one 
> > > > you use for authorship. Then you can use
> > > > 
> > > > 	[user]
> > > > 		SigningKey = key
> > > > 
> > > > (or "git config user.signingkey
> xyz" if
> > you
> > > > don't want to edit the 
> > > > config file manually). 
> > > > 
> > > > This can be especially useful if you use
> > different
> > > keys for
> > > > different 
> > > > projects, even if you want to be known under
> the
> > same
> > > name
> > > > in both. Or 
> > > > because you want to have the local hostname
> in
> > your
> > > commit
> > > > 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


      

  reply	other threads:[~2008-11-18 21:22 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
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 [this message]
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=31942.12221.qm@web37902.mail.mud.yahoo.com \
    --to=garyyang6@yahoo.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    --cc=torvalds@linux-foundation.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 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.