[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Using git-buildpackage --git-keyid

Hi there,

  I am trying to use git-buildpackage, but I cannot understand how I
am supposed to pass my gpg keyid. Steps:

$ svn co https://gdcm.svn.sourceforge.net/svnroot/gdcm/Sandbox/debian-med/cdash
$ cd cdash
$ svn-buildpackage --svn-override=origDir=.. --svn-ignore-new
-rfakeroot -k0EA23F2B
dpkg-buildpackage: full upload (original source is included)
build command was successful; binaries are in
/home/mathieu/Perso/gdcm/Sandbox/debian-med/build-area/. The changes
file is:
Binary package:
rm -rf /home/mathieu/Perso/gdcm/Sandbox/debian-med/build-area/cdash-1.4.2

I then use the generated .dsc file to build up a git rep (*)

$ git-buildpackage  --git-keyid=0x0EA23F2B  --git-tag
Finished running lintian.
Now signing changes and any dsc files...
 signfile cdash_1.4.2-1.dsc Mathieu Malaterre <mathieu.malaterre@gmail.com>
gpg: skipped "Mathieu Malaterre <mathieu.malaterre@gmail.com>": secret
key not available
gpg: /tmp/debsign.FCRVdJdL/cdash_1.4.2-1.dsc: clearsign failed: secret
key not available
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1245:
running debsign failed
debuild -i\.git/ -I.git returned 29
Couldn't run 'debuild -i\.git/ -I.git'

My GPG key is actually Mathieu Malaterre (malat)
<mathieu.malaterre@gmail.com>, so string matching does not work, but
in my case I explicitely state which GPG key id to use.

What am I missing ?



Reply to: