[git-buildpackage] finding the correct gpg key for building package

toogley toogley at mailbox.org
Fri Jan 8 22:34:48 CET 2016


Hello,

i want to build the wicd package, but i seem to have problems with my 
gpg key for signing the packages.

$ git clone https://anonscm.debian.org/git/collab-maint/wicd.git  && cd wicd
$ git checkout stable
$ gbp buildpackage --git-debian-branch=stable --git-keyid=[mySecretKey]
[...]
Now signing changes and any dsc files...
  signfile wicd_1.7.0+ds1-5+squeeze3.dsc David Paleino <dapal at debian.org>
gpg: skipped "David Paleino <dapal at debian.org>": secret key not available
gpg: /tmp/debsign.o9tmM8JI/wicd_1.7.0+ds1-5+squeeze3.dsc: clearsign 
failed: secret key not available
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1295:
running debsign failed
gbp:error: 'debuild -i -I' failed: it exited with 29



debugging
==========
( i want to replace David Paleino's key with mine in the 
git-buildpackage settings.)

- i didn't found any gbp configs in the .git or in the debian/ dir.

- https://honk.sigxcpu.org/piki/projects/git-buildpackage/gbp.conf shows 
a key with 0x, but i can't figure out how i can output my gpg key in 
that format. And prefixing it with 0x doesn't change the result.

- with [mySecretKey], i mean the output of "gpg --list-secret-keys" (the 
part after 2048R/ and before the date.) But the result is the exact same 
as "gpg --list-public-keys", so i guess i did something wrong or 
understood sth incorrectly.


==> Where is my mistake?



More information about the git-buildpackage mailing list