# Newbie question: git tag failure

2 messages from 2006-03-02 to 2006-03-02. Participants: Aubrey, Jan-Benedict Glaw.
Thread: https://gitlist.dev/t/3523

## Aubrey, 2006-03-02 15:51

Subject: Newbie question: git tag failure
Message-ID: <6d6a94c50603020751v4bb96b75q1686d36b32e2c40f@mail.gmail.com>
URL: https://gitlist.dev/e/6d6a94c50603020751v4bb96b75q1686d36b32e2c40f%40mail.gmail.com

```
There are two commit. I want to tag one commit by commit id, but failed.
Thanks for any hints.

Regards,
-Aubrey

aubrey@linux:~/local/mygit> git log
===============================================================
commit a8ac6540cf96f79225cc8457b02cb90d40ac7991
Author: Aubrey.Li <aubrey@linux.site>
Date:   Thu Mar 2 23:34:18 2006 +0800

    add commit log

commit 43368b967bd838292b8cc6b576c5aa13850551cc
Author: Aubrey.Li <aubrey@linux.site>
Date:   Thu Mar 2 22:24:55 2006 +0800

    Initial commit
===============================================================
aubrey@linux:~/local/mygit>git tag -u
43368b967bd838292b8cc6b576c5aa13850551cc v2.5
gpg: directory `/home/aubrey/.gnupg' created
gpg: new configuration file `/home/aubrey/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/aubrey/.gnupg/gpg.conf' are not yet
active during this run
gpg: keyring `/home/aubrey/.gnupg/secring.gpg' created
gpg: keyring `/home/aubrey/.gnupg/pubring.gpg' created
gpg: skipped "43368b967bd838292b8cc6b576c5aa13850551cc": secret key
not available
gpg: signing failed: secret key not available
failed to sign the tag with GPG.

```

## Jan-Benedict Glaw, 2006-03-02 15:54

Subject: Re: Newbie question: git tag failure
Message-ID: <20060302155418.GZ19232@lug-owl.de>
URL: https://gitlist.dev/e/20060302155418.GZ19232%40lug-owl.de
In-Reply-To: <6d6a94c50603020751v4bb96b75q1686d36b32e2c40f@mail.gmail.com>

```
On Thu, 2006-03-02 23:51:04 +0800, Aubrey <aubreylee@gmail.com> wrote:
> aubrey@linux:~/local/mygit>git tag -u
> 43368b967bd838292b8cc6b576c5aa13850551cc v2.5
> gpg: directory `/home/aubrey/.gnupg' created
> gpg: new configuration file `/home/aubrey/.gnupg/gpg.conf' created
> gpg: WARNING: options in `/home/aubrey/.gnupg/gpg.conf' are not yet
> active during this run
> gpg: keyring `/home/aubrey/.gnupg/secring.gpg' created
> gpg: keyring `/home/aubrey/.gnupg/pubring.gpg' created
> gpg: skipped "43368b967bd838292b8cc6b576c5aa13850551cc": secret key
> not available
> gpg: signing failed: secret key not available
> failed to sign the tag with GPG.

You seem to not have a working GnuPG installation, inclusing an
(already present) private key. Please first get familiar with GnuPG,
then try to use it :-)  "gpg --gen-key" may help.

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

```
