* Gerrit Pape <p...@smarden.org> [2009-02-18 16:04:57 CET]: > On Wed, Feb 18, 2009 at 03:50:44PM +0100, Gerfried Fuchs wrote: > > * Gerrit Pape <p...@smarden.org> [2009-02-18 15:34:11 CET]: > > > On Mon, Sep 01, 2008 at 11:26:34AM +0200, Gerfried Fuchs wrote: > > > > Today I wanted to sign a tag with my key. Unfortunately git claimed it > > > > wasn't able to find the secret key. I was able to track it down to that > > > > gpg --list-secret-keys doesn't show the UID it wants to use. > > > > > > > > The workaround propably means to use the -u switch, but actually the > > > > UID *is* on the key (in the public keyring) and the secret key for that > > > > key *is* available locally, so git claims wrong with not finding the > > > > secret key for that UID... > > > > > > Hi, 'git tag' simply calls 'gpg -bsau <signingkey>'. Is there any gpg > > > option that should be added or changed to make it work? > > > > You thought in the wrong direction. :) To be able to gpg -bsau it > > actually needs to knwo the signingkey already. The problem thus isn't in > > the signing stuff but in the algorithm that figures out what to put > > there for <signingkey>. > > Hm, ok. But <signingkey> actually is just the commiter's ident > information, for me 'git tag -s' calls 'gpg -bsau "Gerrit Pape > <p...@smarden.org>"'.
Ah, right. -u only seems to want to take UIDs that are displayed through gpg --list-secret-keys. So I guess this can rather be called a bug in gpg than in git? Thanks, Rhonda -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org